Reference Source Test
public class | version 1.0.0 | since 1.0.0 | source

AbstractAnimation

Abstract class for animations

Constructor Summary

Public Constructor
public abstract

Generates unique ID and stores options

version 1.0.0 since 1.0.0

Member Summary

Public Members
public

Animejs animation object or timeline

public get

Always return false if not overriden in childs class

version 1.0.0 since 1.0.0
public

Auto-generated unique id for animation

since 1.0.0
public

Options for the animation

since 1.0.0

Method Summary

Public Methods
public

Check if required options have been provided

version 1.0.0 since 1.0.0

Public Constructors

public abstract constructor() version 1.0.0 since 1.0.0 source

Generates unique ID and stores options

Public Members

public animation: object source

Animejs animation object or timeline

public get block: boolean version 1.0.0 since 1.0.0 source

Always return false if not overriden in childs class

public id: string since 1.0.0 source

Auto-generated unique id for animation

public options: DotObjectArray since 1.0.0 source

Options for the animation

Public Methods

public check(opts: Array | string): boolean version 1.0.0 since 1.0.0 source

Check if required options have been provided

Params:

NameTypeAttributeDescription
opts Array | string

Option name or array of options names

Return:

boolean

Throw:

TypeError

If an option is missing