Abstract
Protected
constructorOptional
options: MotionManagerOptionsCurrent Expression. This will not be overwritten by defaultExpression.
An empty Expression to reset all the expression parameters.
Readonly
Abstract
definitionsExpression definitions copied from ModelSettings.
Flags the instance has been destroyed.
The Expressions. The structure is the same as definitions, initially there's only
an empty array, which means all expressions will be undefined
. When an Expression has
been loaded, it'll fill the place in which it should be; when it fails to load,
the place will be filled with null
.
The pending Expression.
Readonly
settingsThe ModelSettings reference.
Tag for logging.
Static
prefixedProtected
Abstract
_setOptional
context: anyAbstract
createCreates an Expression from the data.
The created Expression.
Content of the expression file.
The expression definition. Can be undefined in order to create defaultExpression.
Calls each of the listeners registered for a given event.
Rest
...args: any[]Return an array listing the events for which the emitter has registered listeners.
Abstract
getAbstract
getProtected
initAbstract
isReturn the number of listeners listening to a given event.
Return the listeners registered for a given event.
Protected
loadLoads an Expression. Errors in this method will not be thrown, but be emitted with an "expressionLoadError" event.
Promise that resolves with the Expression, or with undefined if it can't be loaded.
Index of the expression in definitions.
Optional
fn: ListenerFnOptional
context: anyOptional
once: booleanAdd a listener for a given event.
Optional
context: anyAdd a one-time listener for a given event.
Optional
context: anyRemove all listeners, or those of the specified event.
Optional
event: keyof ExpressionManagerEvents<any>Remove the listeners of a given event.
Optional
fn: ListenerFnOptional
context: anyOptional
once: booleanResets model's expression using defaultExpression.
Restores model's expression to currentExpression.
Protected
Abstract
stopProtected
Abstract
updateGenerated using TypeDoc
Abstract expression manager.
Emits
ExpressionManagerEvents