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

Method _createChangeEvent

src/material/checkbox/checkbox.ts:130–135  ·  view source on GitHub ↗

Creates the change event that will be emitted by the checkbox.

(isChecked: boolean)

Source from the content-addressed store, hash-verified

128
129 /** Creates the change event that will be emitted by the checkbox. */
130 protected _createChangeEvent(isChecked: boolean) {
131 const event = new MatCheckboxChange();
132 event.source = this;
133 event.checked = isChecked;
134 return event;
135 }
136
137 /** Gets the element on which to add the animation CSS classes. */
138 protected _getAnimationTargetElement() {

Callers 1

_emitChangeEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected