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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    5
  • 1.0.0
    1

Package Sidebar

Install

npm i laidout

Weekly Downloads

4

Version

1.1.0

License

ISC

Last publish

Collaborators

  • korynunn