Skip to content

Angular service to register events on window resize (using Transition Event)

Notifications You must be signed in to change notification settings

ramonjd/angular-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular module/service that listens to resize event and returns current breakpoint, orientation and whether the page has increased/decreased (and in which direction).

See app.js for usage examples.

Requires angular and jquery (installed via bower) and protractor for the e2e tests.

npm install -g grunt
npm install -g protractor
npm install
bower install

start webserver:

grunt

run protractor/selenium tests:

webdriver-manager start
protractor tests/conf.js

For help getting protractor up and running, see: https://github.com/angular/protractor/blob/master/docs/tutorial.md

Then open http://localhost:8888/index.html

About

Angular service to register events on window resize (using Transition Event)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published