MatRadioGroupRefToggleTriggerDirective
Defined in: directives/toggle/mat-radio-group-ref-toggle-trigger.directive.ts:17
Directive that enables toggling of a "MatRadioGroup" selection using an external trigger element (e.g. a button, icon, or custom UI control).
Since
1.1.0
Author
Simon Kovtyk
Implements
AfterViewInitOnDestroy
Constructors
Constructor
ts
new MatRadioGroupRefToggleTriggerDirective(): MatRadioGroupRefToggleTriggerDirective;Returns
MatRadioGroupRefToggleTriggerDirective
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
trigger | readonly | InputSignal<MatRadioGroup> | The target "MatRadioGroup" controlled by this trigger. Required. | directives/toggle/mat-radio-group-ref-toggle-trigger.directive.ts:23 |
Methods
ngAfterViewInit()
ts
ngAfterViewInit(): void;Defined in: directives/toggle/mat-radio-group-ref-toggle-trigger.directive.ts:25
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
Returns
void
Implementation of
ts
AfterViewInit.ngAfterViewInitngOnDestroy()
ts
ngOnDestroy(): void;Defined in: directives/toggle/mat-radio-group-ref-toggle-trigger.directive.ts:31
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Returns
void
Implementation of
ts
OnDestroy.ngOnDestroy