MCPcopy Create free account
hub / github.com/angular/components / appearance

Method appearance

src/material/button/button.ts:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 /** Appearance of the button. */
44 @Input('matButton')
45 get appearance(): MatButtonAppearance | null {
46 return this._appearance;
47 }
48 set appearance(value: MatButtonAppearance | '') {
49 // Allow empty string so users can do `<button matButton></button>`
50 // without having to write out `="text"` every time.

Callers

nothing calls this directly

Calls 1

setAppearanceMethod · 0.95

Tested by

no test coverage detected