Class: Browser::Event::Progress::Definition

Inherits:
Definition show all
Defined in:
opal/browser/event/progress.rb

Instance Method Summary collapse

Methods inherited from Definition

#bubbles=, #cancelable=

Instance Method Details

#computable=(value) ⇒ Object


11
12
13
# File 'opal/browser/event/progress.rb', line 11

def computable=(value)
  `#@native.computableLength = #{value}`
end

#loaded=(value) ⇒ Object


15
16
17
# File 'opal/browser/event/progress.rb', line 15

def loaded=(value)
  `#@native.loaded = #{value}`
end

#total=(value) ⇒ Object


19
20
21
# File 'opal/browser/event/progress.rb', line 19

def total=(value)
  `#@native.total = #{value}`
end