https://github.com/fixate/angular-smooth-scroll
Smooth scroll to elements on a page
https://github.com/fixate/angular-smooth-scroll
Last synced: 2 months ago
JSON representation
Smooth scroll to elements on a page
- Host: GitHub
- URL: https://github.com/fixate/angular-smooth-scroll
- Owner: fixate
- Created: 2014-08-11T17:39:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-11T23:57:30.000Z (over 10 years ago)
- Last Synced: 2025-01-04T08:37:34.228Z (4 months ago)
- Language: CoffeeScript
- Homepage: http://fixate.github.io/angular-smooth-scroll/demo/
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Smooth Scroll
Smooth scroll to frag IDs on a page. Vanilla JS and jQuery directives available. Visit https://github.com/durated/angular-scroll for a fully featured Angular scroll directive.
Original work here: https://github.com/arnaudbreton/angular-smoothscroll
[DEMO](http://fixate.github.io/angular-smooth-scroll/demo/)
## Installation
Bower:```
bower install https://github.com/fixate/angular-smooth-scroll.git#master
```## Usage
```javascript
angular.module('myApp', ['smoothScroll']);
```### Without jQuery
```html
scroll to #my-id### With jQuery
```html
scroll to #my-id## License
MIT: http://fixate.mit-license.org/