<pc-scripts>
The <pc-scripts> tag is used to define a scripts component.
注記
- It must be a direct child of a
<pc-entity>.
Attributes
| 属性 (Attribute) | 説明 |
|---|---|
enabled | Enabled state of the scripts component. If not specified, true is used. |
例
<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.