1.12.5 • Published 5 years ago

sling-web-component-menu v1.12.5

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

sling-web-component-menu

Install

npm install sling-web-component-menu

Tag

  <sling-menu></sling-menu>

Dependencies

  • sling-framework
  • sling-web-component-menu-item

Attributes and properties

NameTypeDefault ValuesReflectToAttributeRequired
layoutString:heavy_check_mark::heavy_check_mark:
sizeString:heavy_check_mark::heavy_check_mark:
icononlyBoolean:heavy_check_mark::x:

Description

NameDescription
layoutSets the layout type of menu, vertical or horizontal
sizeValue that defines the size of the menu: small, medium or large.
icononlyDefines whether or not menu displays only icons.

Events

This component does not emit events.

Examples

All component examples can be emulated using the npm start sling-web-component-menu command.

Usage

<sling-menu layout=" size="small">
  <sling-menu-item [...]>...</sling-menu-item>
</sling-snackbar>