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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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