mikeric / rivets

Lightweight and powerful data binding.

Home Page:http://rivetsjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow async load of components templates

jccazeaux opened this issue · comments

The template function in component bindings only allows sync load of a template. If you want async load (for exemple load template from server with ajax) it's not possible

PR sent, template function can now have a callback as parameter. If this parameters is defined, rivets will use it to wait for the template.