Module: skia-elements/nav-links-sk

nav-links-sk

See also the documentation for module:skia-elements/nav-button-sk.

The nav-links-sk will be closed if the user presses ESC, or if focus moves off of nav-links-sk or any of its children.

Attributes
Name Description
shown A boolean attribute controlling if the list of links is displayed or not.
Source:
Example
// Using nav-button-sk:
<nav-button-sk></nav-button-sk>
<nav-links-sk shown>
  <a href="">Main</a>
  <a href="">Triage</a>
  <a href="">Alerts</a>
</nav-links-sk>

// Using a button instead of nav-button-sk:
<button onclick="this.nextElementSibling.shown = true;">
  <icon-create-sk></icon-create-sk>
</button>
<nav-links-sk>
  <a href="">New A</a>
  <a href="">New B</a>
  <a href="">New C</a>
</nav-links-sk>

Members

shown

Properties:
Name Type Description
shown boolean Mirrors the shown attribute.
Source: