<pc-listener>
The <pc-listener> tag is used to define a listener component.
Usage
- It must be a direct child of a
<pc-entity>.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
enabled | Boolean | "true" | Enabled state of the component |
Example
<pc-entity>
<pc-listener></pc-listener>
</pc-entity>
JavaScript Interface
You can programmatically create and manipulate <pc-listener> elements using the ListenerComponentElement API.