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

Function fireOnStart

core/src/utils/gesture/index.ts:157–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 };
156
157 const fireOnStart = () => {
158 if (blurOnStart) {
159 blurActiveElement();
160 }
161 if (onStart) {
162 onStart(detail);
163 }
164 hasFiredStart = true;
165 };
166
167 const reset = () => {
168 hasCapturedPan = false;

Callers 1

tryToCapturePanFunction · 0.85

Calls 2

blurActiveElementFunction · 0.85
onStartFunction · 0.50

Tested by

no test coverage detected