RenderSchedule.ScriptReference Class
A reference to a RenderSchedule.Script, optionally identifying the source of the script.
@see - DisplayStyle.loadScheduleScript and DisplayStyleState.scheduleScript to obtain the script reference for a display style on the frontend and backend respectively.
- DisplayStyleState.scheduleScript or DisplayStyleState.changeRenderTimeline to change a display style's script on the frontend.
Methods
Name | Description | |
---|---|---|
constructor(script: RenderSchedule.Script): RenderSchedule.ScriptReference | Create a reference to a RenderSchedule.ScriptReference.script with no RenderSchedule.ScriptReference.sourceId. | |
constructor(sourceId: string, script: RenderSchedule.Script): RenderSchedule.ScriptReference | Create a reference to a RenderSchedule.ScriptReference.script with the specified RenderSchedule.ScriptReference.sourceId. | |
constructor(sourceIdOrScript: string | RenderSchedule.Script, scriptIfSourceId?: RenderSchedule.Script): RenderSchedule.ScriptReference | Use one of the public constructor overloads which forward to this one. |
Properties
Name | Type | Description | |
---|---|---|---|
script Readonly | RenderSchedule.Script | The script defining the rendering timelines to be applied. | |
sourceId Readonly | string | The Id of the element - if any - from which the script originated. |
Defined in
- core/common/src/RenderSchedule.ts Line 1216
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.