MaterialListComponent class

Material List is a container component for a set of items with which the user is intended to interact.

It forms the basis for selection and menu components. The MaterialListComponent class acts as the root node for a list providing styling and the ability to collect item events.

Attributes:

  • size: string {x-small, small, medium, large, x-large} Sizes for the list, resulting in the width being 64px * {1.5, 3, 5, 6, 7} respectively. The default size is "auto" which sizes the list to its contents.
  • min-size: string {x-small, small, medium, large, x-large} Minimum size for the list, resulting in the width at least the specified width.
Implemented types
Annotations
  • @Component(selector: 'material-list', styleUrls: ['material_list.scss.css'], directives: [NgClass], template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.onPush)

Constructors

MaterialListComponent()

Properties

hashCode int
The hash code for this object.
no setterinherited
role String
Role to apply to the material-list.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size String
Preset width, 1 through 5. By default, the material list will expand to the full width of its parent.
getter/setter pair
width ← dynamic
no getteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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