Need private packages and team management tools?Check out npm Teams »

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

Keywords

none

Install

npm i laidout

DownloadsWeekly Downloads

4

Version

1.1.0

License

ISC

Last publish

Collaborators

  • avatar