@ionic/core
Version:
Base components for Ionic
29 lines (26 loc) • 720 B
JavaScript
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 };