- 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
ContextualView
ContextualView is an interface for creating views that need to be aware of their parent's transform, size, and/or origin. Consists of a OptionsManager paired with an input EventHandler and an output EventHandler. Meant to be extended by the developer.
Overview
Options
Methods
setOptions
setOptions
ContextualView(options)
Constructor Parameters
options
Options
An object of configurable options. Deprecated: Use SizeAwareView when creating views that need to be aware of their parent's size.
Methods
setOptions(options)
Patches the ContextualLayout instance's options with the passed-in ones.
Parameters
options
Options
An object of configurable options for the ContextualLayout instance.
setOptions(key)
Returns ContextualLayout instance's options.
Parameters
key
String
Returns
Options
options The instance's object of configurable options.
render()Private
Return the registers Entity id for the ContextualView.
Returns
Number
Registered Entity id
commit(context)Private
Apply changes from this component to the corresponding document element. This includes changes to classes, styles, size, content, opacity, origin, and matrix transforms.
Parameters
context
Context
commit context