struct Protocol::Animation::Animation

Overview

Animation instance.

Included Modules

Defined in:

protocol/animation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def css_id : String | Nil #

A unique ID for Animation representing the sources that triggered this CSS animation/transition.


[View source]
def current_time : Number::Primitive #

Animation's current time.


[View source]
def id : String #

Animation's id.


[View source]
def name : String #

Animation's name.


[View source]
def paused_state : Bool #

Animation's internal paused state.


[View source]
def play_state : String #

Animation's play state.


[View source]
def playback_rate : Number::Primitive #

Animation's playback rate.


[View source]
def source : AnimationEffect | Nil #

Animation's source animation node.


[View source]
def start_time : Number::Primitive #

Animation's start time.


[View source]
def type : String #

Animation type of Animation.


[View source]