GithubHelp home page GithubHelp logo

Dynamic page generation fail about holder HOT 4 CLOSED

Enelar avatar Enelar commented on August 18, 2024
Dynamic page generation fail

from holder.

Comments (4)

imsky avatar imsky commented on August 18, 2024

If you're running that inside a $(document).ready(), it's likely you're seeing a race condition. After your append, execute Holder.run().

from holder.

Enelar avatar Enelar commented on August 18, 2024

Whoa.. unexpected.. feature. So i should run() after every EJS rendered, in hope that it contains image?
Well, thanks!

from holder.

imsky avatar imsky commented on August 18, 2024

You can run Holder.run on a set of images, so that if you update an element, you only have to iterate over images inside that element, if any exist. This can be automated if you register a callback for your rendering function as well.

from holder.

Enelar avatar Enelar commented on August 18, 2024

Yep. Right now i am using http://placehold.it/, because my boss NEED solution NOW.
But later i am planning create jquery plugin.

from holder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.