Skip to content
angulux
@anguless/angulux/menu

menu

2 declarations2 demos
import
import { MenuModule } from '@anguless/angulux/menu';

API

Generated from the committed corpus, which check:corpus holds to the built library.

MenuItemContent

component[aglMenuItemContent]
InputTypeDefaultDescription
aglMenuItemContent
property item
MenuItem | undefinednot documented
itemTemplateany | undefinednot documented
menuitemIdstringnot documented
idxnumbernot documented
OutputTypeDescription
onMenuItemClickEventEmitter<any>

Inherited from BaseComponent

inherited
InputTypeDefaultDescription
dtObject | undefined undefined Defines scoped design tokens of the component.
unstyledboolean | undefined undefined Indicates whether the component should be rendered without styles.
ptPT | undefined undefined Used to pass attributes to DOM elements inside the component. TRUSTED INPUT ONLY. Whatever you put here is applied to the DOM as given: keys become attributes, and a key that names a DOM property is assigned to that property directly, with no sanitizer in between. That is what makes the API useful, and it means a value reaching it from a user, a database or a CMS can execute script. Treat it like markup you wrote yourself, not like data you received.
ptOptionsPassThroughOptions | undefined undefined Used to configure passthrough(pt) options of the component.

Menu

componentagl-menu

Menu is a navigation / command component that supports dynamic and static positioning.

InputTypeDefaultDescription
modelMenuItem[] | undefinednot documentedAn array of menuitems.
popupboolean | undefinednot documentedDefines if menu would displayed as a popup.
style{ [klass: string]: any } | null | undefinednot documentedInline style of the component.
styleClassstring | undefinednot documentedStyle class of the component.
autoZIndexbooleannot documentedWhether to automatically manage layering.
baseZIndexnumbernot documentedBase zIndex value to use in layering.
showTransitionOptions
deprecated — since v21.0.0, use `motionOptions` instead.
stringnot documentedTransition options of the show animation.
hideTransitionOptions
deprecated — since v21.0.0, use `motionOptions` instead.
stringnot documentedTransition options of the hide animation.
ariaLabelstring | undefinednot documentedDefines a string value that labels an interactive element.
ariaLabelledBystring | undefinednot documentedIdentifier of the underlying input element.
idstring | undefinednot documentedCurrent id state as a string.
tabindexnumbernot documentedIndex of the element in tabbing order.
appendToHTMLElement | 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).
motionOptionsMotionOptions | undefinednot documentedThe motion options.
OutputTypeDescription
onShowEventEmitter<any>Callback to invoke when overlay menu is shown.
onHideEventEmitter<any>Callback to invoke when overlay menu is hidden.
onBlurEventEmitter<Event>Callback to invoke when the list loses focus.
onFocusEventEmitter<Event>Callback to invoke when the list receives focus.
Template slotDescription
<ng-template #start>Defines template option for start.
<ng-template #end>Defines template option for end.
<ng-template #item>Custom item template.
<ng-template #submenuheader>Custom submenu header template.

Inherited from BaseComponent

inherited
InputTypeDefaultDescription
dtObject | undefined undefined Defines scoped design tokens of the component.
unstyledboolean | undefined undefined Indicates whether the component should be rendered without styles.
ptPT | undefined undefined Used to pass attributes to DOM elements inside the component. TRUSTED INPUT ONLY. Whatever you put here is applied to the DOM as given: keys become attributes, and a key that names a DOM property is assigned to that property directly, with no sanitizer in between. That is what makes the API useful, and it means a value reaching it from a user, a database or a CMS can execute script. Treat it like markup you wrote yourself, not like data you received.
ptOptionsPassThroughOptions | undefined undefined Used to configure passthrough(pt) options of the component.