jquery - no loaded event for handlebar templates -


i'm using handlebars , handlebar jquery plugin bootstrap modal .. problem handlebar library not provide proper events fired after given template compiled , rendered making ui not interactive or have issues in way display.

currently code shows correctly if put alert statement on top of :

// modal appears out of place $modal.render('bootstrapmodaltemplate', context)  // makes modal render correctly alert('works'); $modal.render('bootstrapmodaltemplate', context) 

can guyz ? there way hookup callback after template has been loaded , rendered ?


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -