- From: Hayato Ito <notifications@github.com>
- Date: Mon, 08 Feb 2016 03:38:10 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 8 February 2016 11:38:39 UTC
My preference is option B in https://github.com/w3c/webcomponents/issues/358#issuecomment-168970241. Unless there is a use case where developers have a significant trouble with it, I think we can live in option B as the first step. I prefer keeping activeElement simple and understandable. I am not a fan of making it too magical one. If we find a use case where we need an intelligent *magical* API, such as `x-foo.shadowRoot.magicalActiveElement -> slot`, we might want to provide such an magical API as another API, if it's difficult to implement in JS. However, developers still need a plain old activeElement anyway, I think. That's an orthogonal issue. Both cover different use cases. Thus, just making activeElement act a plain simple role should not be a bad choice. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/358#issuecomment-181328698
Received on Monday, 8 February 2016 11:38:39 UTC