MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / debounceChanged

Method debounceChanged

core/src/components/range/range.tsx:115–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114 @Watch('debounce')
115 protected debounceChanged() {
116 const { ionInput, debounce, originalIonInput } = this;
117 /**
118 * If debounce is undefined, we have to manually revert the ionInput emitter in case
119 * debounce used to be set to a number. Otherwise, the event would stay debounced.
120 */
121 this.ionInput = debounce === undefined ? originalIonInput ?? ionInput : debounceEvent(ionInput, debounce);
122 }
123
124 /**
125 * The name of the control, which is submitted with the form data.

Callers 1

connectedCallbackMethod · 0.95

Calls 1

debounceEventFunction · 0.90

Tested by

no test coverage detected