Material Design components for Angular
Developed by angular (Organization)
Primary language: TypeScript
October 6, 2017
October 23, 2017
JavaScript (20.86 kB), HTML (284.42 kB), TypeScript (2.44 MB), CSS (238.56 kB), Shell (24.96 kB)
714
714
11436
1067
Kara on October 6, 2017 for marble-mustache
mat-select
is now used inside mat-form-field
. This makes all of the existing form-field features available with mat-select
, including hints, errors, prefixes, and suffixes. This also ensures that mat-select
and matInput
have a consistent presentation.<mat-form-field>
<mat-select placeholder="State">
<mat-option *ngFor="let state of states" [value]="state">{{ state }}</mat-option>
</mat-select>
</mat-form-field>
ScrollDispatcher.scrolled
subscription would react both on scroll events and on window resize events. Now it only reacts to scroll events. To react to resize events, subscribe to the ViewportRuler.change()
stream.UniqueSelectionDispatcher
, UniqueSelectionDispatcherListener
and UNIQUE_SELECTION_DISPATCHER_PROVIDER
are no longer available from @angular/material and instead must be imported from @angular/cdk/collectionsisFocusTrapEnabled
is now properly marked internal.OverlayRef.getState
method has been renamed to OverlayRef.getConfig
.defaultErrorStateMatcher
has been replaced by ErrorStateMatcher
. For more info, see the input docs.mat-tab-label-active
class to active nav tab labels (#7508) (00e9338)