File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ Thanks to [Eddy Verbruggen](EddyVerbruggen) for providing [nativescript-taptic-e
2323- [ Use @nativescript/haptics ] ( #use-nativescripthaptics )
2424- [ API] ( #api )
2525 - [ isSupported()] ( #issupported )
26- - [ is6SAnd6SPlusSupported()] ( #is6sand6splussupported )
2726 - [ selection()] ( #selection )
2827 - [ notifcation()] ( #notification )
2928 - [ impact()] ( #impact )
@@ -56,16 +55,6 @@ Checks if haptics is supported on the device.
5655
5756---
5857
59- ### is6SAnd6SPlusSupported()
60-
61- ``` ts
62- isHapticsSupported : boolean = Haptics .is6SAnd6SPlusSupported ()
63- ```
64-
65- Checks if Haptics is supported on iOS.
66-
67- ---
68-
6958### selection()
7059
7160``` ts
@@ -112,7 +101,7 @@ There are 3 impact types:
112101To use the haptics fallbacks, check if there is support:
113102
114103``` ts
115- if (! Haptics .isSupported () && Haptics . is6SAnd6SPlusSupported () ) {
104+ if (! Haptics .isSupported ()) {
116105 // use HapticsFallback
117106}
118107```
You can’t perform that action at this time.
0 commit comments