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


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

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

#elapsed=(value) ⇒ Object


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

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