cloneable DOM • HTML Import ◦ Add external HTML • Custom Elements ◦ Create new HTML elements ◦ Extend existing DOM objects • Shadow DOM ◦ Encapsulation within the DOM
bool multiple = false; void multipleChanged(bool oldValue) { if (!multiple) { // Pick one and collapse the others } } void onExpanded(Event e, var details, Node target) { if (!multiple) { _collapseOthers(details as Expander); } } }
bool multiple = false; void multipleChanged(bool oldValue) { if (!multiple) { // Pick one and collapse the others } } void onExpanded(Event e, var details, Node target) { if (!multiple) { _collapseOthers(details as Expander); } } }
bool multiple = false; void multipleChanged(bool oldValue) { if (!multiple) { // Pick one and collapse the others } } void onExpanded(Event e, var details, Node target) { if (!multiple) { _collapseOthers(details as Expander); } } }