- From: <bugzilla@jessica.w3.org>
- Date: Thu, 23 Apr 2015 00:18:27 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28546
Hayato Ito <hayato@chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hayato@chromium.org
--- Comment #1 from Hayato Ito <hayato@chromium.org> ---
I'm okay to have this API, given that this is very common pattern.
At the same time, I'm wondering where we should draw the line between low-level
APIs and high-level APIs, because Web Components tries to provide the minimum
set of APIs, I think.
In addition to that, I have a concern that consuming third parameter only for
this purpose is really worth doing or not.
If we were to support it, I prefer an optional dictionary such as:
document.registerElement('my-button', MyButton,
{'template': myButtonTemplate, 'useShadowDOM': true (== default)});
WDTY?
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 23 April 2015 00:18:28 UTC