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

Function hapticNotification

core/src/utils/native/haptic.ts:177–179  ·  view source on GitHub ↗
(options: HapticNotificationOptions)

Source from the content-addressed store, hash-verified

175 * options should be of the type `{ type: NotificationType.SUCCESS }` (or `WARNING`/`ERROR`)
176 */
177export const hapticNotification = (options: HapticNotificationOptions) => {
178 hapticAvailable() && HapticEngine.notification(options);
179};
180
181/**
182 * Use this to indicate success/failure/warning to the user.

Callers

nothing calls this directly

Calls 1

hapticAvailableFunction · 0.85

Tested by

no test coverage detected