@anguless/angulux/tieredmenu
TieredMenu
import
import { TieredMenuModule } from '@anguless/angulux/tieredmenu';API
Generated from the committed corpus, which check:corpus holds to the built library.
TieredMenuSub
componentagl-tieredMenuSub, agl-tieredmenusub| Input | Type | Default | Description |
|---|---|---|---|
| visible | boolean | not documented | |
| items | any[] | not documented | |
| item | TemplateRef<TieredMenuItemTemplateContext> | undefined | not documented | |
| root | boolean | undefined | not documented | |
| auto | boolean | undefined | not documented | |
| auto | boolean | not documented | |
| base | number | not documented | |
| popup | boolean | undefined | not documented | |
| menu | string | undefined | not documented | |
| aria | string | undefined | not documented | |
| aria | string | undefined | not documented | |
| level | number | not documented | |
| focused | string | undefined | not documented | |
| active | any[] | not documented | |
| motion | MotionOptions[] | undefined | not documented | |
| tabindex | number | not documented | |
| inline | { [klass: string]: any } | null | undefined | not documented |
| Output | Type | Description |
|---|---|---|
| item | EventEmitter<any> | |
| item | EventEmitter<any> | |
| menu | EventEmitter<any> | |
| menu | EventEmitter<any> | |
| menu | EventEmitter<any> |
Inherited from BaseComponent
inherited| Input | Type | Default | Description |
|---|---|---|---|
| dt | Object | undefined | undefined | Defines scoped design tokens of the component. |
| unstyled | boolean | undefined | undefined | Indicates whether the component should be rendered without styles. |
| pt | PT | undefined | undefined | Used to pass attributes to DOM elements inside the component. Keys become attributes, and a key that names a DOM property is also assigned to that property. Values the browser would execute go through Angular's sanitizer first, as in a template binding: markup in `innerHTML`, `outerHTML` and `srcdoc`, and URLs in `href`, `src`, `action`, `formaction` and `xlink:href`. To write one of those unsanitized on purpose, pass a `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl` value. An `on*` key must be a function, and any other value for it is ignored. Keys themselves are applied as given, so let data from users choose values, never keys. |
| pt | PassThroughOptions | undefined | undefined | Used to configure passthrough(pt) options of the component. |
TieredMenu
componentagl-tieredMenu, agl-tieredmenu, agl-tiered-menuTieredMenu displays submenus in nested overlays. Accessibility, a known limit: while a submenu is open, its list sits inside the item that opened it, so the item's name (its label) is only part of the text the item contains. axe reports this as label-content-name-mismatch. A screen reader still announces the item by its label, and the arrow keys move into the submenu and back. Moving the submenu out of the item would change the menu's DOM, which styles and pass-through options depend on, so it waits for the next major version.
| Input | Type | Default | Description |
|---|---|---|---|
| model | not documented | An array of menuitems. | |
| popup | boolean | undefined | not documented | Defines if menu would displayed as a popup. |
| style | { [klass: string]: any } | null | undefined | not documented | Inline style of the component. |
| style | string | undefined | not documented | Style class of the component. |
| breakpoint | string | not documented | The breakpoint to define the maximum width boundary. |
| auto | boolean | not documented | Whether to automatically manage layering. |
| base | number | not documented | Base zIndex value to use in layering. |
| auto | boolean | undefined | true | Whether to show a root submenu on mouse over. |
| show deprecated — since v21.0.0, use `motionOptions` instead. | string | not documented | Transition options of the show animation. |
| hide deprecated — since v21.0.0, use `motionOptions` instead. | string | not documented | Transition options of the hide animation. |
| id | string | undefined | not documented | Current id state as a string. |
| aria | string | undefined | not documented | Defines a string value that labels an interactive element. |
| aria | string | undefined | not documented | Identifier of the underlying input element. |
| disabled | boolean | not documented | When present, it specifies that the component should be disabled. |
| tabindex | number | not documented | Index of the element in tabbing order. |
| append | HTMLElement | ElementRef | TemplateRef<any> | 'self' | 'body' | null | undefined | any | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
| motion | MotionOptions | undefined | not documented | The motion options. |
| Output | Type | Description |
|---|---|---|
| on | EventEmitter<any> | Callback to invoke when overlay menu is shown. |
| on | EventEmitter<any> | Callback to invoke when overlay menu is hidden. |
| Template slot | Description |
|---|---|
| <ng-template #submenuicon> | Custom submenu icon template. |
| <ng-template #item> | Custom item template. |
Inherited from BaseComponent
inherited| Input | Type | Default | Description |
|---|---|---|---|
| dt | Object | undefined | undefined | Defines scoped design tokens of the component. |
| unstyled | boolean | undefined | undefined | Indicates whether the component should be rendered without styles. |
| pt | PT | undefined | undefined | Used to pass attributes to DOM elements inside the component. Keys become attributes, and a key that names a DOM property is also assigned to that property. Values the browser would execute go through Angular's sanitizer first, as in a template binding: markup in `innerHTML`, `outerHTML` and `srcdoc`, and URLs in `href`, `src`, `action`, `formaction` and `xlink:href`. To write one of those unsanitized on purpose, pass a `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl` value. An `on*` key must be a function, and any other value for it is ignored. Keys themselves are applied as given, so let data from users choose values, never keys. |
| pt | PassThroughOptions | undefined | undefined | Used to configure passthrough(pt) options of the component. |