MaterialFabMenuComponent class

A fab menu item with optional sub menu.

Mixed-in types
Annotations
  • @Component(selector: 'material-fab-menu', changeDetection: ChangeDetectionStrategy.onPush, directives: [AutoFocusDirective, DeferredContentDirective, FocusTrapComponent, NgFor, NgIf, MaterialFabComponent, MaterialIconComponent, MaterialListItemComponent, MaterialPopupComponent, MaterialTooltipDirective, MenuItemGroupsComponent, MenuRootDirective, PopupSourceDirective], templateUrl: 'material_fab_menu.html', styleUrls: ['material_fab_menu.scss.css'], preserveWhitespace: true)

Constructors

MaterialFabMenuComponent(ChangeDetectorRef _changeDetector)

Properties

activateFirstItemOnInit bool
no setter
activateLastItemOnInit bool
no setter
ariaLabel String
no setter
closing bool
no setter
glyph String
no setter
hashCode int
The hash code for this object.
no setterinherited
hasIcons bool
no setter
hasMenu bool
no setter
hasTooltip bool
no setter
isFabEnabled bool
no setter
isFabHidden bool
no setter
isRtl bool?
Whether the direction of the component is RTL.
getter/setter pairinherited
MenuItem that defines the appearance and behavior of this menu.
getter/setter pair
no setter
Id used internally.
getter/setter pair
onShow Stream<void>
Emits when fab is opened.
no setter
preferredPopupPositions List<RelativePosition>
Popup positions for the menu popup to show up in.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showPopup bool
no setter
tooltip String
no setter
tooltipPositions List<RelativePosition>
final
trackLayoutChanges bool
Sets whether the suggestion list scrolls with the input box.
getter/setter pairinherited
viewModel MaterialFabMenuModel?
Sets the view model for this component.
no getter

Methods

handleBackspaceKey(KeyboardEvent event) → void
inherited
handleCharCodeKey(KeyboardEvent event) → void
inherited
handleDeleteKey(KeyboardEvent event) → void
inherited
handleDownKey(KeyboardEvent event) → void
override
handleEndKey(KeyboardEvent event) → void
inherited
handleEnterKey(KeyboardEvent event) → void
inherited
handleEscapeKey(KeyboardEvent event) → void
inherited
handleHomeKey(KeyboardEvent event) → void
inherited
handleLeftKey(KeyboardEvent event) → void
inherited
handlePageDown(KeyboardEvent event) → void
inherited
handlePageUp(KeyboardEvent event) → void
inherited
handleRightKey(KeyboardEvent event) → void
inherited
handleSpaceKey(KeyboardEvent event) → void
inherited
handleUpKey(KeyboardEvent event) → void
Keypress callback is used to handle UP and DOWN keys.
override
hideMenu() → void
ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onKeyDown(KeyboardEvent event) → void
Keydown callback used to handle arrow keys.
inherited
onKeyPress(KeyboardEvent event) → void
Keypress callback used to handle enter and space keys.
inherited
onKeyUp(KeyboardEvent event) → void
Keyup callback used to handle escape keys.
inherited
onPopupClosed() → void
onPopupOpened() → void
toString() String
A string representation of this object.
inherited
trigger(Event event) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited