-
Notifications
You must be signed in to change notification settings - Fork 0
$##TemplateVariables$
First of all, those are not real templates i just call them this way because i can't find a proper name.
todo: linka spiegazione dalla tesi e aggiungi quanto sotto.
When an html-style is applied to a class or a feature, only the root will be directly linked to the logical class/feature, if a children element holds a template or must retrieve the logical counterpart, it will inherit the parent's logical link recursively until a link with a logical object is found (guaranteed by linking the roots). This way if we click an input inside a class html view, the inputted value will be submitted to the first linked object found following the DOM parent chain. If the input is children to a class html, but also children to an attribute html, the closest linked parent will be chosen, and that's the attribute. When using a template inside html, the base javascript object will be the closest linked element following the parent path. An explaining image is found at this link