2 ms·
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 som
by nailer 13y ago
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.