MaterialPersistentDrawerDirective class

A persistent drawer that can be pinned open or closed.

Need to include package:ngcomponents/app_layout/layout.scss.css in the list of styleUrls of the containing component.

Works with deferred content.

Inheritance
Annotations
  • @Directive(selector: 'material-drawer[persistent]', exportAs: 'drawer', providers: [ExistingProvider(DeferredContentAware, MaterialPersistentDrawerDirective)], visibility: Visibility.all)

Properties

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 setter
hostMatDrawerExpanded bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Visibility of the drawer.
getter/setter pairinherited

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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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