Skip to main content
Mat Expressive

bindButtonGroupChildren

Function

Registers the effects that broadcast size/shape/appearance/disabled from a group-like host (MatExpButtonGroup, MatExpSplitButton) down to its projected ButtonGroupChild instances.

This is the single implementation of the broadcast-effect logic that was previously duplicated between button-group.ts and split-button.ts. Must be called from within an injection context (e.g. a component/directive constructor).

Parameters

NameTypeDescription
config ButtonGroupChildBroadcastConfig

Returns

void

Signature

(config: ButtonGroupChildBroadcastConfig) => void