mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update docs.
Use code syntax in more places and link to jquery.
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## 3.1.3
|
## 3.1.3
|
||||||
|
|
||||||
* Include MozMousePixelScroll in the to fix list to avoid inconsistent behavior in older Firefox
|
* Include `MozMousePixelScroll` in the to fix list to avoid inconsistent behavior in older Firefox
|
||||||
|
|
||||||
## 3.1.2
|
## 3.1.2
|
||||||
|
|
||||||
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
## 3.0.3
|
## 3.0.3
|
||||||
|
|
||||||
* Added deltaX and deltaY for horizontal scrolling support (Thanks to Seamus Leahy)
|
* Added `deltaX` and `deltaY` for horizontal scrolling support (Thanks to Seamus Leahy)
|
||||||
|
|
||||||
|
|
||||||
## 3.0.2
|
## 3.0.2
|
||||||
@ -71,7 +71,7 @@
|
|||||||
## 2.1.1
|
## 2.1.1
|
||||||
|
|
||||||
* Updated to work with jQuery 1.1.3
|
* Updated to work with jQuery 1.1.3
|
||||||
* Used one instead of bind to do unload event for clean up.
|
* Used one instead of bind to do unload event for clean up
|
||||||
|
|
||||||
|
|
||||||
## 2.1
|
## 2.1
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# jQuery Mouse Wheel Plugin
|
# jQuery Mouse Wheel Plugin
|
||||||
|
|
||||||
A jQuery plugin that adds cross-browser mouse wheel support.
|
A [jQuery](http://jquery.com/) plugin that adds cross-browser mouse wheel support.
|
||||||
|
|
||||||
In order to use the plugin, simply bind the `mousewheel` event to an element.
|
In order to use the plugin, simply bind the `mousewheel` event to an element.
|
||||||
It also provides two helper methods called `mousewheel` and `unmousewheel`
|
It also provides two helper methods called `mousewheel` and `unmousewheel`
|
||||||
that act just like other event helper methods in jQuery. The event callback
|
that act just like other event helper methods in jQuery. The event callback
|
||||||
receives three extra arguments which are the normalized "deltas" of the mouse wheel.
|
receives three extra arguments which are the normalized "deltas" of the mouse wheel.
|
||||||
|
|
||||||
Here is an example of using both the bind and helper method syntax.
|
Here is an example of using both the bind and helper method syntax:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// using bind
|
// using bind
|
||||||
|
Reference in New Issue
Block a user