MaterialStackableDrawerComponent class

A stackable temporary drawer that can be opened and closed.

While a stackable drawer is open any existing stackable drawer will be expanded to fill the screen in the background.

Works with deferred content.

Inheritance
Annotations
  • @Component(selector: 'material-drawer[stackable]', providers: [ExistingProvider(DeferredContentAware, MaterialStackableDrawerComponent)], templateUrl: 'material_stackable_drawer.html', styleUrls: ['material_stackable_drawer.scss.css'], visibility: Visibility.all)

Constructors

MaterialStackableDrawerComponent(@Optional() @SkipSelf() MaterialStackableDrawerComponent? parent)

Properties

canClose bool
getter/setter pairinherited
contentVisible Stream<bool>
Event fired when the visibility of the drawer changes.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hostMatDrawerCollapsed bool
no setteroverride
hostMatDrawerExpanded bool
no setteroverride
isExpanded bool
'True' when the drawer is expanded to full screen.
getter/setter pair
parent MaterialStackableDrawerComponent?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Visibility of the drawer.
getter/setter pairinherited-getteroverride-setter

Methods

ngOnInit() → void
Executed after the first change detection run for a directive.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle() → void
Toggle the drawer's visibility.
override
toString() String
A string representation of this object.
inherited

Operators

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