Skip to main content

<pc-scripts>

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

note

Attributes

AttributeDescription
enabledEnabled state of the scripts component. If not specified, true is used.

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.