Jump to: navigation, search

Merlin/FAQ

< Merlin
Revision as of 13:24, 24 June 2015 by Pkarikh (talk | contribs) (Created page with "'''What does the self.on('childChange') binding [https://github.com/stackforge/merlin/blob/master/extensions/mistral/static/mistral/js/mistral.workbook.models.js#L48 here]?'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What does the self.on('childChange') binding here?

We need to notify model that child of container has been changed. Once user chooses that type of some field differs from previous (for example, was 'string' and became 'list'), this binding makes model replace old value with new. So it is a some kind of setter in this case.