Improve this doc View source

pfApplicationLauncher
directive in module patternfly.navigation

Description

Component for rendering application launcher dropdown.

Usage

as element:
<pf-application-launcher
       [label="{string}"]
       [is-disabled="{boolean}"]
       [is-list="{boolean}"]
       [hidden-icons="{boolean}"]
       items="{array}">
</pf-application-launcher>

Parameters

ParamTypeDetails
label
(optional)
string

Use a custom label for the launcher, default: Application Launcher

isDisabled
(optional)
boolean

Disable the application launcher button, default: false

isList
(optional)
boolean

Display items as a list instead of a grid, default: false

hiddenIcons
(optional)
boolean

Flag to not show icons on the launcher, default: false

itemsarray

List of navigation items

  • .title - (string) Name of item to be displayed on the menu
  • .iconClass - (string) Classes for icon to be shown on the menu (ex. "fa fa-dashboard")
  • .href - (string) href link to navigate to on click
  • .tooltip - (string) Tooltip to display for the badge

Example

Source





Demo