Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    content-readypublic

    content-ready

    Listen for moment when content of element is ready (even with all images).

    Depends on jquery, uses q promise library.

    This library is useful when you need to know when for example all images in some element are loaded.

    Abandoned

    Unfortunately I don't have any more time to maintain this repository :-(

    sad cat

    Installation

    $ npm install content-ready

    Usage

    var ready = require('content-ready');
     
    ready($('#someRandomElement')).then(function(el) {
        console.log('all images were loaded.');
    });

    Changelog

    • 1.0.1

      • Move under Carrooi organization
      • Abandon package
    • 1.0.0

      • First version

    install

    npm i content-ready

    Downloadslast 7 days

    124

    version

    1.0.1

    license

    MIT

    homepage

    github.com

    last publish

    collaborators

    • avatar