UNPKG

@ionic/core

Version:
29 lines (26 loc) 720 B
import { h } from '../ionic.core.js'; function hapticSelection() { const engine = window.TapticEngine; if (engine) { engine.selection(); } } function hapticSelectionStart() { const engine = window.TapticEngine; if (engine) { engine.gestureSelectionStart(); } } function hapticSelectionChanged() { const engine = window.TapticEngine; if (engine) { engine.gestureSelectionChanged(); } } function hapticSelectionEnd() { const engine = window.TapticEngine; if (engine) { engine.gestureSelectionEnd(); } } export { hapticSelectionChanged as a, hapticSelectionStart as b, hapticSelectionEnd as c, hapticSelection as d };