https://github.com/quantizor/floater
🕴 floating box directive for Angular 1.x
https://github.com/quantizor/floater
Last synced: about 2 months 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-22T02:07:41.000Z (over 11 years ago)
- Last Synced: 2025-03-06T15:51:36.172Z (over 1 year 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