Class: Browser::Event::Animation::Definition

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

Instance Method Summary collapse

Methods inherited from Definition

#bubbles=, #cancelable=

Instance Method Details

#animation=(value) ⇒ Object


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

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

#elapsed=(value) ⇒ Object


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

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