import {MatButtonModule} from '@angular/material/button';
MatButton
Material design button.
Selector: button[mat-button] button[mat-raised-button] button[mat-icon-button] button[mat-fab] button[mat-mini-fab] button[mat-stroked-button] button[mat-flat-button]
Exported as: matButtonName | Description |
---|---|
@Input()
|
Theme color palette for the component. |
@Input()
|
Whether ripples are disabled. |
@Input()
|
Whether the component is disabled. |
|
Whether the button is icon button. |
|
Whether the button is round. |
|
Reference to the MatRipple instance of the button. |
focus | |
---|---|
Focuses the button. |
MatAnchor
extends
MatButton
Raised Material design button.
Selector: a[mat-button] a[mat-raised-button] a[mat-icon-button] a[mat-fab] a[mat-mini-fab] a[mat-stroked-button] a[mat-flat-button]
Exported as: matButton, matAnchorName | Description |
---|---|
@Input()
|
Theme color palette for the component. |
@Input()
|
Whether ripples are disabled. |
@Input()
|
Whether the component is disabled. |
|
Whether the button is icon button. |
|
Whether the button is round. |
|
Reference to the MatRipple instance of the button. |
focus | |
---|---|
Focuses the button. |