Fledex.Component.Interface behaviour (fledex v0.6.0)

View Source

This 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.Manager.config_t structure which will be passed to the Fledex.Animation.Manager.

Callbacks

configure(atom, keyword)

@callback configure(
  atom(),
  keyword()
) :: Fledex.Animation.Manager.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.Manager.config_t structure which will be passed to the Fledex.Animation.Manager.