{% implements %}
Attributes
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | ✓ | Bare action name this component implements (e.g. 'create-bookmark') |
Valid Parent Contexts
This tag is valid inside: {% component %}
Declares that the parent \{% component %\} implements the named action. The action must be declared in a domain \{% api %\} block. The compiler validates the reference against the global API name index.
Self-closing (/%\}) when no prose body is needed. Optional prose body describes how the component handles the action.
Component implementing an action
{% implements action="add-bookmark" /%}