1.12.5 • Published 5 years ago

sling-web-component-menu-item v1.12.5

Weekly downloads
20
License
-
Repository
-
Last release
5 years ago

sling-web-component-menu-item

Install

npm install sling-web-component-menu-item

Tag

  <sling-menu-item></sling-menu-item>

Dependencies

  • sling-framework
  • sling-web-component-icon

Attributes and properties

NameTypeDefault ValuesReflectToAttributeRequired
iconString:heavy_check_mark::x:
hrefString:heavy_check_mark::heavy_check_mark:
activeBoolean:heavy_check_mark::x:

Description

NameDescription
iconSets the icon of the sling-icon component inside of a sling-menu-item
hrefHas an analogous operation to the href of the tag <a>
activeDefines whether or not menu item is active.

Events

This component does not emit events.

Examples

All component examples can be emulated using the npm start sling-web-component-menu command. A sling-menu-item must be a child of sling-menu to render.