Skip to main content
Mat Expressive

ButtonGroupChild

Interface

Narrow contract that MatExpButtonGroup and MatExpSplitButton depend on instead of reaching into the full public surface of MatExpButton / MatExpIconButton.

Keeping this interface narrow means a change to either button directive's public setters no longer ripples silently into both group/split-button implementations - only the adapter for the affected directive needs to change.

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

ButtonGroupChild