Reference Source
import {SideNav} from '@adobe/coral-spectrum'
public class | source

SideNavItem

Expression Extends:

class SideNavItem extends BaseComponent(HTMLAnchorElement)

A SideNav Item component.

See:

Example:

Markup
<coral-sidenav-item></coral-sidenav-item>
JS constructor
new Coral.SideNav.Item();

Member Summary

Public Members
public

The content of the sidenav item.

public

Specifies the icon name used inside the item.

public

Whether the item is selected.

Public Members

public content: SideNavItemContent source

The content of the sidenav item.

  • content-zone

public icon: String source

Specifies the icon name used inside the item. See Icon for valid icon names.

  • "" by default.

public selected: Boolean source

Whether the item is selected.

  • false by default.
  • reflected