File tree 1 file changed +1
-12
lines changed
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
23
23
- [ Use @nativescript/haptics ] ( #use-nativescripthaptics )
24
24
- [ API] ( #api )
25
25
- [ isSupported()] ( #issupported )
26
- - [ is6SAnd6SPlusSupported()] ( #is6sand6splussupported )
27
26
- [ selection()] ( #selection )
28
27
- [ notifcation()] ( #notification )
29
28
- [ impact()] ( #impact )
@@ -56,16 +55,6 @@ Checks if haptics is supported on the device.
56
55
57
56
---
58
57
59
- ### is6SAnd6SPlusSupported()
60
-
61
- ``` ts
62
- isHapticsSupported : boolean = Haptics .is6SAnd6SPlusSupported ()
63
- ```
64
-
65
- Checks if Haptics is supported on iOS.
66
-
67
- ---
68
-
69
58
### selection()
70
59
71
60
``` ts
@@ -112,7 +101,7 @@ There are 3 impact types:
112
101
To use the haptics fallbacks, check if there is support:
113
102
114
103
``` ts
115
- if (! Haptics .isSupported () && Haptics . is6SAnd6SPlusSupported () ) {
104
+ if (! Haptics .isSupported ()) {
116
105
// use HapticsFallback
117
106
}
118
107
```
You can’t perform that action at this time.
0 commit comments