MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / onEnd

Method onEnd

core/src/components/toggle/toggle.tsx:290–295  ·  view source on GitHub ↗
(ev: GestureDetail)

Source from the content-addressed store, hash-verified

288 }
289
290 private onEnd(ev: GestureDetail) {
291 this.activated = false;
292 this.lastDrag = Date.now();
293 ev.event.preventDefault();
294 ev.event.stopImmediatePropagation();
295 }
296
297 private getValue() {
298 return this.value || '';

Callers 1

ToggleClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected