The object type this reifier will be applied to.
The object type this reifier will be applied to.
The configuration properties.
Protected Static ReadonlyfieldsProtected Static ReadonlyknownProtected Static ReadonlychainableProtected ReadonlytimeProtected ReadonlyattachedProtected ReadonlyattachedThe properties to be assigned to the objects. It could take:
{key: value} pairs.{key: value} pairs.The interpolation function would take as arguments:
index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The properties to be assigned to the objects. It could take:
{key: value} pairs.{state: {key: value} pairs or an interpolation function that would return a record of {key: value} pairs}.{key: value} pairs based on the state value.The interpolation function would take as arguments:
state: State: the state being applied to the object(s). Only passed to the callback function if it is
defined for the whole field (and not for a specific state).index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The styles to be assigned to the objects (only if they are eligible elements). It could take:
{CSS property: value} pairs.{key: value} pairs.The interpolation function would take as arguments:
index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The styles to be assigned to the objects (only if they are eligible elements). It could take:
{CSS property: value} pairs.{state: {CSS property: value} pairs or an interpolation function that would return a record of {key: value} pairs}.{key: value} pairs based on the state value.The interpolation function would take as arguments:
state: State: the state being applied to the object(s). Only passed to the callback function if it is
defined for the whole field (and not for a specific state).index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The classes to be assigned to the objects (only if they are eligible elements). It could take:
The interpolation function would take as arguments:
index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The classes to be assigned to the objects (only if they are eligible elements). It could take:
{state: space-separated class string, array of classes, or an interpolation function that would return any of the latter}.The interpolation function would take as arguments:
state: State: the state being applied to the object(s). Only passed to the callback function if it is
defined for the whole field (and not for a specific state).index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The object that should replace (in the DOM as well if eligible) the attached objects. It could take:
The interpolation function would take as arguments:
index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.The object that should replace (in the DOM as well if eligible) the attached objects. It could take:
{state: object to be replaced with, or an interpolation function that would return an object to be replaced with}.The interpolation function would take as arguments:
state: State: the state being applied to the object(s). Only passed to the callback function if it is
defined for the whole field (and not for a specific state).index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.Optionalobjects: ClassType | ClassType[]Optionaloptions: ReifectAppliedOptions<"default", ClassType>Optionalobjects: ClassType | ClassType[]Optionaloptions: ReifectAppliedOptions<"default", ClassType>Functionattach
The object to attach.
OptionalonSwitch: ReifectOnSwitchCallback<"default", ClassType>Optional callback fired when the reifier is applied to the object. The callback takes as parameters:
state: State: The state being applied to the object.index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.Optionalindex: numberOptional index to specify the position at which to insert the object in the reifier's attached list.
ProtectedattachProtected FunctionattachObject
The object to attach
OptionalonSwitch: ReifectOnSwitchCallback<"default", ClassType>Optional callback fired when the reifier is applied to the object. The callback takes as parameters:
state: State: The state being applied to the object.index: number: the index of the object in the applied list.total: number: the total number of objects in the applied list.object: ClassType: the object itself.Optionalindex: numberOptional index to specify the position at which to insert the object in the reifier's attached list.
ProtecteddetachFunctiongetData
The object to find the data of.
null if was not found.FunctiongetObject
The data entry to get the corresponding object of.
The corresponding object, or null if was garbage collected.
FunctionstateOf
The object to determine the state for.
ProtectedparseFunctiongetObjectEnabledState
The object to get the state of.
Optionalobjects: ClassType | ClassType[]Optionaloptions: ReifectAppliedOptions<"default", ClassType>FunctionreloadFor
The element to apply the string to.
Itself for method chaining.
Optionalobjects: ClassType | ClassType[]Optionaloptions: ReifectAppliedOptions<"default", ClassType>Optionalstate: "default"Optionalstate: "default"Optionalstate: "default"Optionalstate: "default"ProtectedapplyOptionalstate: "default"ProtectedparseProtectedfilterProtectedprocessOptionaloverride: StatefulReifectCoreProperties<"default", ClassType>ProtectednormalizeProtectednormalize
Reifect
Description
A class to manage and apply dynamic properties, styles, classes, and transitions to a set of objects.