SiLinkDirective documentation¶
selectorexported-as
[siLink]siLinkInput Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| actionParam ¶ | any | Parameter passed to the configured link action. | |
| activeClass ¶ | string | CSS class applied while the link is active. | |
| ariaCurrent ¶ | AriaCurrentType | Type for aria-current to set if routerLink is active. | |
| exactMatch ¶ | boolean | false | Whether router links must match the complete URL to be considered active. |
| siLink ¶ | Link | Link configuration, including the destination, action, and tooltip. | |
| siLinkDefaultTarget ¶ | string | Default target for links configured with an href but no explicit target. |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| activeChange ¶ | boolean | Emits when the active state of the link changes. |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| (readonly) active ¶ | WritableSignal<boolean> | false | |
| onClick(...) ¶ | (event: any) => void | Parameters
|
Types Documentation¶
|
| Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
|---|
Except where otherwise noted, content on this site is licensed under MIT License.