-
Notifications
You must be signed in to change notification settings - Fork 1
Provided Mixins
riccomediamonks edited this page May 23, 2018
·
15 revisions
This mixin extends the mubanTransitionCoreMixin.
After extending this mixin a couple of methods are added to your component, you can see all of them in the generated documentation. See below for the most common ones!
- Description: This method allows you to trigger a transitionIn on your component.
- Parameters
-
forceTransition
- type:
boolean
- required:
false
- description: If you trigger a transitionIn when the transitionOut is still running by default it will wait for the transitionOut to be complete, if you provide this flag it will force your new transition.
- type:
-
- Returns
Promise<void>
- Description: This method allows you to trigger a transitionOut on your component.
- Parameters
-
forceTransition
- type:
boolean
- required:
false
- description: If you trigger a transitionOut when the transitionIn is still running by default it will wait for the transitionIn to be complete, if you provide this flag it will force your new transiton.
- type:
-
- Returns
Promise<void>
- Description: This method is triggered when a
data-scroll-component
enters the view. - Returns
<void>
- Description: This method is triggered when a
data-scroll-component
leaves the view. - Returns
<void>
- Description: This method is triggered when the scrollbar is dragged down super fast the default enter view event might not be triggered therefor we have a beyondView event! If it's already transitioned in it will do nothing! But if it's not transitioned in it will still try to transitionIn
- Returns
<void>
- Description: Starts the main loopingAnimation for the component
- Returns
<void>
- Description: Starts the main loopingAnimation for the component
- Returns
<void>