laidout
v1.1.0
Published
Call a callback when an element has been laid out with css
Downloads
19
Readme
laidout
What
Call a callback when an element has been laid out with css
Usage
var laidout = require('laidout');
laidout(someElement, function(){
// called when the element is actually in the document
});
checkDisplay
Flag to also check that the element and it's parents are not display: none;
laidout(someElement, true, callback);