You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -99,10 +99,10 @@ $('#element').pressure({
99
99
```
100
100
101
101
## Options
102
-
With Pressure, the third paramater is an optional object of options that can be passed in.
102
+
With Pressure, the third parameter is an optional object of options that can be passed in.
103
103
104
104
### Polyfill Support
105
-
Using the "polyfill" keyword, you can disable polyfill support for the element. The polyfill is enabled by default and is useful if the device or browser does not support pressure, it will fall back to using time. For example instead of force from 0 to 1, it counts up from 0 to 1 over the course of one second, as long as you are holding the element. Try some of the examples on the main page on a devices that does not support pressure and see for yourself how it works.
105
+
Using the "polyfill" keyword, you can disable polyfill support for the element. The polyfill is enabled by default and is useful if the device or browser does not support pressure, it will fall back to using time. For example instead of force from 0 to 1, it counts up from 0 to 1 over the course of one second, as long as you are holding the element. Try some of the examples on the main page on a device that does not support pressure and see for yourself how it works.
106
106
```javascript
107
107
Pressure.set('#example', {
108
108
change:function(force, event){
@@ -165,7 +165,7 @@ Pressure.set('#example',{
165
165
```
166
166
167
167
### Change the preventSelect option
168
-
The preventDefault option in "true" by default and it prevents the default actions that happen on 3D "peel and pop" actions and the Force "define word" actions as well as other defaults. To allow the defaults to run set preventDefault to "false"
168
+
The preventDefault option is "true" by default and it prevents the default actions that happen on 3D "peel and pop" actions and the Force "define word" actions as well as other defaults. To allow the defaults to run set preventDefault to "false"
169
169
```javascript
170
170
Pressure.set('#example',{
171
171
change:function(force, event){
@@ -179,7 +179,7 @@ Pressure.set('#example',{
179
179
### Config
180
180
You can use ```Pressure.config()``` to set default configurations for site wide setup. All of the configurations are the same as the options listed above.
181
181
182
-
*Heads Up: If you have a config set, you can always overide the config on individual Pressure elements by passing in any of the options listed above to a specific Pressure block.*
182
+
*Heads Up: If you have a config set, you can always override the config on individual Pressure elements by passing in any of the options listed above to a specific Pressure block.*
183
183
184
184
**When using the jQuery Pressure library, use ```$.pressureConfig()``` rather than ```Pressure.map()```**
0 commit comments