Fledex.Component.Interface behaviour (fledex v0.5.0)
View SourceThis interface needs to be implemente by a compoenent. It should be noted that a component is always an animation.
Summary
Callbacks
This function will be called during initialization of a component. The various
settings are passed in as options.
This function can return any valid t:Fledex.Animation.Animator.config_t
structure which will
be passed to the Fledex.Animation.Manager
.
Callbacks
@callback configure( atom(), keyword() ) :: %{required(atom()) => Fledex.Animation.Animator.config_t()}
This function will be called during initialization of a component. The various
settings are passed in as options.
This function can return any valid t:Fledex.Animation.Animator.config_t
structure which will
be passed to the Fledex.Animation.Manager
.