Skip to content

Commit

Permalink
chore(update-plugins): Fri Aug 2 08:05:52 UTC 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
nativescript-oss committed Aug 2, 2024
1 parent be85eb1 commit ceffe31
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions plugins/haptics.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Thanks to [Eddy Verbruggen](EddyVerbruggen) for providing [nativescript-taptic-e
- [Use @nativescript/haptics](#use-nativescripthaptics)
- [API](#api)
- [isSupported()](#issupported)
- [is6SAnd6SPlusSupported()](#is6sand6splussupported)
- [selection()](#selection)
- [notifcation()](#notification)
- [impact()](#impact)
Expand Down Expand Up @@ -56,16 +55,6 @@ Checks if haptics is supported on the device.

---

### is6SAnd6SPlusSupported()

```ts
isHapticsSupported: boolean = Haptics.is6SAnd6SPlusSupported()
```

Checks if Haptics is supported on iOS.

---

### selection()

```ts
Expand Down Expand Up @@ -112,7 +101,7 @@ There are 3 impact types:
To use the haptics fallbacks, check if there is support:

```ts
if (!Haptics.isSupported() && Haptics.is6SAnd6SPlusSupported()) {
if (!Haptics.isSupported()) {
// use HapticsFallback
}
```
Expand Down

0 comments on commit ceffe31

Please sign in to comment.