Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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