Taptic Engine

Contents

An Ionic plugin to use Taptic Engine API on iPhone 7, 7 Plus or newer.

https://github.com/EddyVerbruggen/cordova-plugin-taptic-engine

Ionic Taptic Engine插件的安装(Installation)

ionic cordova plugin add cordova-plugin-taptic-engine npm install @ionic-native/taptic-engine

Ionic Taptic Engine插件支持的平台(Supported Platforms)

  • iOS

Ionic Taptic Engine插件的用法(Usage)

import { TapticEngine } from '@ionic-native/taptic-engine';

...

constructor(private taptic: TapticEngine) { }

...

this.taptic.selection();

this.taptic.notification();

this.taptic.impact();