SiSkipLinkTargetDirective documentation¶
selector
[siSkipLinkTarget]
Directive to mark an element as a target for a skip link. If this directive is applied to a none interactive element, a tabindex of -1 must be added manually.
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
siSkipLinkTarget | TranslatableString | The name of the skip link target which will be shown in the skip link. |
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
jumpToThisTarget() ¶ | () => void | Call this methode to "activate" a skip link target. It will focus this element and scroll it into the view. |
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. |
---|
Translatable import imported from @siemens/element-translate-ng |
---|
Except where otherwise noted, content on this site is licensed under MIT License.