- core
- Context
- ElementAllocator
- ElementOutput
- Engine
- Entity
- EventEmitter
- EventHandler
- Group
- Modifier
- OptionsManager
- RenderNode
- Scene
- SpecParser
- Transform
- View
- ViewSequence
- events
- EventArbiter
- EventFilter
- EventMapper
- inputs
- Accumulator
- GenericSync
- MouseSync
- PinchSync
- RotateSync
- ScaleSync
- ScrollSync
- TouchSync
- TouchTracker
- TwoFingerSync
- math
- Matrix
- Quaternion
- Random
- Utilities
- Vector
- modifiers
- Draggable
- Fader
- ModifierChain
- StateModifier
- physics
- PhysicsEngine
- physics/bodies
- Body
- Circle
- Particle
- Rectangle
- physics/constraints
- Surface
- Collision
- Constraint
- Curve
- Distance
- Snap
- Wall
- Walls
- physics/forces
- Drag
- Force
- Repulsion
- RotationalDrag
- RotationalSpring
- Spring
- VectorField
- physics/integrators
- SymplecticEuler
- surfaces
- CanvasSurface
- ContainerSurface
- ImageSurface
- InputSurface
- TextareaSurface
- VideoSurface
- transitions
- CachedMap
- Easing
- MultipleTransition
- SnapTransition
- SpringTransition
- Transitionable
- TransitionableTransform
- TweenTransition
- WallTransition
- utilities
- KeyCodes
- Timer
- Utility
- views
- ContextualView
- Deck
- DrawerLayout
- EdgeSwapper
- FlexibleLayout
- Flipper
- GridLayout
- HeaderFooterLayout
- Lightbox
- RenderController
- ScrollContainer
- Scroller
- Scrollview
- SequentialLayout
- widgets
- NavigationBar
- TabBar
RenderController
A dynamic view that can show or hide different renderables with transitions.
Overview
Options
Methods
RenderController(options, inTransition, outTransition, overlap)
Constructor Parameters
options
Options
An object of configurable options.
inTransition
Transition
The transition in charge of showing a renderable.
outTransition
Transition
The transition in charge of removing your previous renderable when you show a new one, or hiding your current renderable.
overlap
Boolean
When showing a new renderable, overlap determines if the out transition of the old one executes concurrently with the in transition of the new one, or synchronously beforehand.
Methods
inTransformFrom(transform)
As your RenderController shows a new renderable, it executes a transition in. This transition in will affect a default interior state and modify it as you bring renderables in and out. However, if you want to control the transform, opacity, and origin state yourself, you may call certain methods (such as inTransformFrom) to obtain state from an outside source, that may either be a function or a Famous transitionable. inTransformFrom sets the accessor for the state of the transform used in transitioning in renderables.
Parameters
inOpacityFrom(opacity)
inOpacityFrom sets the accessor for the state of the opacity used in transitioning in renderables.
Parameters
inOriginFrom(origin)
inOriginFrom sets the accessor for the state of the origin used in transitioning in renderables.
Parameters
inAlignFrom(align)
inAlignFrom sets the accessor for the state of the align used in transitioning in renderables.
Parameters
outTransformFrom(transform)
outTransformFrom sets the accessor for the state of the transform used in transitioning out renderables.
Parameters
outOpacityFrom(opacity)
outOpacityFrom sets the accessor for the state of the opacity used in transitioning out renderables.
Parameters
outOriginFrom(origin)
outOriginFrom sets the accessor for the state of the origin used in transitioning out renderables.
Parameters
outAlignFrom(align)
outAlignFrom sets the accessor for the state of the align used in transitioning out renderables.
Parameters
show(renderable, transition, callback)
Show displays the targeted renderable with a transition and an optional callback to execute afterwards.
Parameters
hide(transition, callback)
Hide hides the currently displayed renderable with an out transition.
Parameters
render()Private
Generate a render spec from the contents of this component.