For interoperability with AngularJS etc., automatically upgrade plain elements to custom elements (i.e. what parse() does). Also, automatically call attachedCallback() / detachedCallback() as custom elements are added to / removed from the DOM.
For performance reasons, disable detection while custom elements are rendering. If a custom element synchronously creates other custom elements, it should create them programatically and call attachedCallback() manually. Note that this is already done in delite for widgets in templates.
For interoperability with AngularJS etc., automatically upgrade plain elements to custom elements (i.e. what parse() does). Also, automatically call
attachedCallback()
/detachedCallback()
as custom elements are added to / removed from the DOM.For performance reasons, disable detection while custom elements are rendering. If a custom element synchronously creates other custom elements, it should create them programatically and call attachedCallback() manually. Note that this is already done in delite for widgets in templates.
See #257 for original discussion.