Skip to content

Fire an event after elementQuery has finished #14

Open
@jadus

Description

I'm using dotdotdot.js (multiple lines ellipsis) on blocks styled with elementQuery.
The problem is that I have to wait for elementQuery to finish its job if I want to apply dotdotdot.js.

I've added this on line 176 of the prod branch of elementQuery :

$.event.trigger({
    type:"elementQueriesDone",
});

And now I can apply dotdotdot.js when elementQuery has finished.

Don't now how to trigger an event without jQuery, sorry...

And thanks for this great polyfill

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions