Skip to content

SiLinkDirective documentation

selectorexported-as
[siLink]siLink

Input Properties

NameTypeDefaultDescription
actionParam
anyParameter passed to the configured link action.
activeClass
stringCSS class applied while the link is active.
ariaCurrent
AriaCurrentTypeType for aria-current to set if routerLink is active.
exactMatch
booleanfalseWhether router links must match the complete URL to be considered active.
LinkLink configuration, including the destination, action, and tooltip.
siLinkDefaultTarget
stringDefault target for links configured with an href but no explicit target.

Output Properties

NameTypeDescription
activeChange
booleanEmits when the active state of the link changes.

Attributes and Methods

NameTypeDefaultDescription
(readonly) active
WritableSignal<boolean>false
onClick(...)
(event: any) => voidParameters

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.