Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If only binding could be as simple as telling JS you would like a binding somewhere, using a particular template, with some particular data object.

    var someBinding = new Ractive({
      el: .class-where-id-like-a-binding,
      template: aMustacheTemplateYouLoadedWithRequiresTextPlugin
      data: {some: object}
    })
At least you're now a ractive.js expert.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: