Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quantizor/floater
🕴 floating box directive for Angular 1.x
https://github.com/quantizor/floater
Last synced: 3 days ago
JSON representation
🕴 floating box directive for Angular 1.x
- Host: GitHub
- URL: https://github.com/quantizor/floater
- Owner: quantizor
- License: mit
- Created: 2014-11-22T02:04:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-22T02:07:41.000Z (about 10 years ago)
- Last Synced: 2024-11-16T08:35:56.681Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Floater
=======Floating box directive for Angular 1.x
This directive assumes the presence of jQuery in your application to get some advanced functionality like `.offset()` and `.css()`.
You can modify this to work without it, but for true x-browser goodness, you should use real jQuery.
**Example:**
````html
````
Notes:
* `attrs.floater` = the element you want to use as the bottom edge for your floating box (usually a footer)
* The parent element of the floating box should be `position: relative` for when it hits the bounding edge and needs to lock to the bottom