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

https://github.com/anthonychu/angular-fill-height-directive

A directive to change the height of a div or other block element to fill the height of window
https://github.com/anthonychu/angular-fill-height-directive

Last synced: 12 months ago
JSON representation

A directive to change the height of a div or other block element to fill the height of window

Awesome Lists containing this project

README

          

Angular fill-height directive
====

Angular directive to change the height of a div to fill the available space in the window.

Usage
----

Add `fill-height` directive to any block element.

Optional

* To specify the id of an element (such as a footer) whose height should be included in the calculation, use the `footer-element-id` attribute.
* To specify an additional padding amount to use in the height calculation, add a `additional-padding` attribute.
* To specify a debounce wait time in ms (default 250ms), add `debounce-wait` attribute. Use a wait time of 0 to disable.

Example


content goes here

Live demo: [anthonychu.github.io/angular-fill-height-directive/demo/](http://anthonychu.github.io/angular-fill-height-directive/demo/)