Skip to main content
Mat Expressive

ButtonAdapter

Class

Adapts a MatExpButton directive instance to the ButtonGroupChild contract.

Properties

NameTypeDescription
buttonreadonlyMatExpButton

Methods

setSize
(size: MatExpButtonSize) => void

Parameters

NameTypeDescription
size MatExpButtonSize

Returns

void
setShape
(shape: MatExpButtonShape) => void

Parameters

NameTypeDescription
shape MatExpButtonShape

Returns

void
setAppearance
(appearance: MatButtonAppearance) => void

Parameters

NameTypeDescription
appearance MatButtonAppearance

Returns

void
setDisabled
(disabled: boolean) => void

Parameters

NameTypeDescription
disabled boolean

Returns

void

Type Definition

ButtonAdapter