Show:

Mixin: Transitioned

Transitioned

Transitioned mixin class.

Extends

Methods

appear(){Transitioned}

mixins/Transitioned.js, line 31

Transitions the element into view

Signals:

  • pre_appear: triggered at the beginning.

disappear(no_transitions){Transitioned}

mixins/Transitioned.js, line 56

Transitions the element out of view or simply hides it if no_transitions is truthy.

Signals:

  • pre_disappear: triggered at the beginning, before the transition starts.
Name Type Description
no_transitions boolean optional

whether to hide the element without transitions.

sleepContained(){Transitioned}

mixins/Transitioned.js, line 110

Defers this method till when the transition ends.

transit(direction){Promise}

mixins/Transitioned.js, line 93

Transitions the instance's top container, either into view or out of it, depending on direction.

Signals:

  • post_transit: triggered at end of transition. Takes the direction argument.
Name Type Description
direction string

'in' or 'out', depending of direction of transition.

Returns:
transition promise.