MCPcopy Index your code
hub / github.com/angular/components / _createChangeEvent

Method _createChangeEvent

src/material/checkbox/checkbox.ts:125–130  ·  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

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

Callers 1

_emitChangeEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected