File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,17 @@ This will generate the file `ember-gestures/recognizers/name.js`.
134
134
Once you've filled out the recognizer (see [ ./addon/recognizers/] ( ./addon/recognizers/ ) for examples),
135
135
it will be available to use in your app just like the default recognizers.
136
136
137
+ ##### Note
138
+
139
+ Although we have provided an example for ` double-tap ` and ` single-tap ` in the ` addon/recognizers ` folder, they
140
+ are for demo purposes only and do not ship with the actual addon because they are non-standard.
141
+ If you'd like to enable these recognizers for your own app; for instance ` double-tap ` ; execute:
142
+
143
+ ` ember g recognizer double-tap `
144
+
145
+ An ` .app/ember-gestures/recognizers/double-tap.js ` file will be created. Inspect its contents and replace
146
+ it with the example ` double-tap.js ` from this addon's codebase.
147
+
137
148
#### Increase the size of touchable areas to improve user experience on small controls
138
149
139
150
Sometimes smaller buttons or critical buttons need a larger capture area than their visible area.
You can’t perform that action at this time.
0 commit comments