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