Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- animOptions = {time: 0.3}
- customTransition = () ->
- transition =
- layerA:
- show: { opacity: 1, x: 0, y: 0, options: animOptions }
- hide: { opacity: 0, x: 0, y: 0, options: animOptions }
- layerB:
- show: { opacity: 1, x: 0, y: 0, options: animOptions }
- hide: { opacity: 0, x: 0, y: 0, options: animOptions }
- flow = new FlowComponent
- flow.transition(layer, customTransition)
Add Comment
Please, Sign In to add comment