Members
-
<static> isInited :boolean
-
Description
Flag indicating whether the Data Driven Configurator Extension has been fully initialized.
This is set to true after all dependent components have completed their initialization.Details
Methods
-
<static> forgetLastValueDefinedByUserForAttributes( attributes )
-
Description
By default, this method does nothing more than propagating the call to dataDrivenConfigurator.forgetLastValueDefinedByUserForAttributes.
It is meant to be adjusted as needed.
Parameters
Name Type Default Description attributesArray.<object> The list of attributes for which data driven should forget previous user defined values. If
null, the values of all attributes will be forgotten.Details
-
<static> getStatus() → {dataDrivenConfigurator.attributesStatus}
-
Description
By default, this method does nothing more than propagating the call to dataDrivenConfigurator.getStatus.
It is meant to be adjusted as needed.
Returns
Details
-
<static> setConfiguration( configurationObject [, options ] )
-
Description
By default, this method does nothing more than propagating the call to dataDrivenConfigurator.setConfiguration.
It is meant to be adjusted as needed.
Parameters
Name Type Attributes Default Description configurationObjectobject A configuration object containing the attributes to set and their values
optionsobject <optional> Since 0.3.3 Options as how the configuration should be set.
Name Type Attributes Default Description repercussionConfigPropagationModedataDrivenConfigurator.repercussionConfigPropagationMode <optional> async The way the repercussion configuration object should be propagated.
repercussionConfigDelayedPropagationModeDelaydataDrivenConfigurator.repercussionConfigDelayedPropagationModeDelay <optional> 1 Delay in milliseconds to apply when repercussionConfigPropagationMode is set to
delayed.Details
-
<static> simulateSetConfiguration()
-
Description
By default, this method does nothing more than propagating the call to dataDrivenConfigurator.simulateSetConfiguration.
It is meant to be adjusted as needed.
Details
-
<static> unload()
-
Description
Unloads everything related to the data driven extension and the data driven.
If used in addition to the player’s native unload, the data driven code’s one should be called first.
Examples
window.dataDrivenConfiguratorExtension.unload(); player.unload();Details
Events
-
dataDrivenConfiguratorExtensionIsInited
-
Description
Fired when the Data Driven Configurator Extension has inited.
Properties
Name Type Description detailobject A holder.
Name Type Description versionstring The version of the Data Driven Configurator Extension code that has been inited.
Details