laidout

1.1.0 • Public • Published

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);

Dependents (6)

Package Sidebar

Install

npm i laidout

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • korynunn