You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use of ractive.set('foo') where foo is a parent data value and foo is not used in the template or passed in explicitly won't work. But if you put {{#foo}}{{/}} in the template, ractive knows about it and subsequent set or get operations work.
Probably we could make them (get and set) smarter, but I finally got my head around this and it's worth documenting.
The text was updated successfully, but these errors were encountered:
Use of
ractive.set('foo')
wherefoo
is a parent data value andfoo
is not used in the template or passed in explicitly won't work. But if you put{{#foo}}{{/}}
in the template, ractive knows about it and subsequentset
orget
operations work.Probably we could make them (get and set) smarter, but I finally got my head around this and it's worth documenting.
The text was updated successfully, but these errors were encountered: