- 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
Group
A Context designed to contain surfaces and set properties to be applied to all of them at once. This is primarily used for specific performance improvements in the rendering engine. Private.
Overview
Options
Methods
Group(options)
Constructor Parameters
options
Object
Surface options array (see Surface})
Methods
add(obj)Private
Add renderables to this component's render tree.
Parameters
obj
Object
renderable object
Returns
RenderNode
Render wrapping provided object, if not already a RenderNode
render()Private
Generate a render spec from the contents of this component.
Returns
Number
Render spec for this component
deploy(target)Private
Place the document element this component manages into the document.
Parameters
target
Node
document parent of this container
recall(target)Private
Remove this component and contained content from the document
Parameters
target
Node
node to which the component was deployed
commit(context)Private
Apply changes from this component to the corresponding document element.
Parameters
context
Object
update spec passed in from above in the render tree.