diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-03-25 20:19:57 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-03-25 20:19:57 +0100 |
commit | f2a65b0a4aa1cd6448ec5236190dcdf1f0eb12c4 (patch) | |
tree | 5be26b5c74561b59d5662046fe8ee82c08c120cd /js/vendor/get-size/README.md | |
parent | 8a58b145cf7d05d6c73043700b27813125d9a88f (diff) |
remove compiled js and 3rdparty deps from the repo
Diffstat (limited to 'js/vendor/get-size/README.md')
-rw-r--r-- | js/vendor/get-size/README.md | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/js/vendor/get-size/README.md b/js/vendor/get-size/README.md deleted file mode 100644 index f3573a874..000000000 --- a/js/vendor/get-size/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# getSize - -Get the size of elements. - -``` js -var size = getSize( elem ); -// elem can be an element -var size = getSize( document.querySelector('#selector') ) -// elem can be a string, used as a query selector -var size = getSize('#selector') -``` - -Returns an object with: `width`, `height`, `innerWidth/Height`, `outerWidth/Height`, `paddingLeft/Top/Right/Bottom`, `marginLeft/Top/Right/Bottom`, `borderLeft/Top/Right/BottomWidth` and `isBorderBox`. - -Browser support: IE10+, Android 4.0+, iOS 5+, and modern browsers - -## Install - -Install with [Bower](http://bower.io): `bower install get-size` - -Install with npm: `npm install get-size` - -## Firefox hidden iframe bug - -[Firefox has an old bug](https://bugzilla.mozilla.org/show_bug.cgi?id=548397) that occurs within iframes that are hidden with `display: none`. To resolve this, you can use alternate CSS to hide the iframe off-screen, with out `display: none`. - -``` css -.hide-iframe { - visibility: hidden; - position: absolute; - left: -999em; -} -``` - -## MIT License - -getSize is released under the [MIT License](http://desandro.mit-license.org/). |