Skip to main content

<pc-scripts>

The <pc-scripts> tag is used to define a scripts component.

Usage

Attributes

AttributeTypeDefaultDescription
enabledBoolean"true"Enabled state of the component

Example

<pc-entity>
<pc-scripts>
<pc-script name="myScript"></pc-script>
</pc-scripts>
</pc-entity>

JavaScript Interface

You can programmatically create and manipulate <pc-scripts> elements using the ScriptComponentElement API.