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


9
10
11
# File 'opal/browser/event/progress.rb', line 9

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

#loaded=(value) ⇒ Object


13
14
15
# File 'opal/browser/event/progress.rb', line 13

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

#total=(value) ⇒ Object


17
18
19
# File 'opal/browser/event/progress.rb', line 17

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