Attributes |
Name | Required | Request-time | Type | Description |
anchorCssClass | false | true | java.lang.String | Sets a CSS class for styling the link set in the href attribute. |
anchorData | false | true | java.lang.Object | Takes a set of data and passes it as HTML data attributes for the anchor. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo; . |
anchorId | false | true | java.lang.String | Identifies the instance of the navigation item's link, set in the href attribute. |
ariaLabel | false | true | java.lang.String | Sets a name for the navigation item for assistive technologies to interpret. |
ariaRole | false | true | java.lang.String | Sets a role for assistive technologies to interpret HTML elements that have been used for something other than their intended purpose. For example, the <p> tag could be used for something other than a paragraph. |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. |
data | false | true | java.lang.Object | Takes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo; . |
dropdown | false | true | boolean | Sets whether the navigation item is a dropdown menu. The default value is false . |
href | false | true | java.lang.Object | Sets the URL navigated to when the navigation item is clicked. |
iconCssClass | false | true | java.lang.String | Sets a CSS class for styling the navigation item's icon. |
id | false | true | java.lang.String | Identifies the component instance. |
label | false | true | java.lang.String | Sets the text to display for the navigation item. |
localizeLabel | false | true | boolean | No Description |
selected | false | true | boolean | Sets whether the navigation item is selected by default. The default value is false . |
state | false | true | java.lang.String | No Description |
title | false | true | java.lang.String | Sets the navigation item's title. |
toggle | false | true | boolean | No Description |
useDialog | false | true | boolean | Sets whether to open a dialog window with the href location when a user clicks the navigation item. The default value is false . |
wrapDropDownMenu | false | true | boolean | Sets whether to wrap the navigation item's dropdown menu in an unordered list with the drop-down-menu class. The default value is true . |