angular-mousewheel

WebJar for angular-mousewheel

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bowergithub.angular : bower-angular jar [1.0.6,)
org.webjars.bowergithub.monospaced » hamster.js 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