angular-mousewheel

WebJar for angular-mousewheel

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-mousewheel
Last Version

Last Version

1.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

angular-mousewheel
WebJar for angular-mousewheel
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/monospaced/angular-mousewheel

Download angular-mousewheel

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-mousewheel/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-mousewheel</artifactId>
    <version>1.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-mousewheel/
implementation 'org.webjars.bower:angular-mousewheel:1.0.5'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-mousewheel/
implementation ("org.webjars.bower:angular-mousewheel:1.0.5")
'org.webjars.bower:angular-mousewheel:jar:1.0.5'
<dependency org="org.webjars.bower" name="angular-mousewheel" rev="1.0.5">
  <artifact name="angular-mousewheel" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-mousewheel', version='1.0.5')
)
libraryDependencies += "org.webjars.bower" % "angular-mousewheel" % "1.0.5"
[org.webjars.bower/angular-mousewheel "1.0.5"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : angular jar [1.0.6,)
org.webjars.bower » hamsterjs jar [1.0.2,)

Project Modules

There are no modules declared in this project.

Angular Mousewheel

An AngularJS directive for cross-browser mouse wheel support, using the small and standalone Hamster.js library.

See it in action.

Usage

as attribute

msd-wheel="{expression}"

as class

class="msd-wheel: {expression};"

The event callback receives 3 extra arguments which are the normalized “deltas” of the mouse wheel.

msd-wheel="myFunction($event, $delta, $deltaX, $deltaY)"

class="msd-wheel: myFunction($event, $delta, $deltaX, $deltaY);"

Install

bower install angular-mousewheel or npm install angular-mousewheel

Include Hamster.js and the mousewheel.js script provided by this component in your app, and add monospaced.mousewheel to your app’s dependencies.

Demo

monospaced.github.io/angular-mousewheel

Versions

Version
1.0.5