Re: [webcomponents] Replace attached/detached callbacks with insertedIntoDocument/removedFromDocument (#362)

Regarding with the naming,

We should definitely avoid using `InsertedIntoDocument/removedFromDocument`.
As we have decided not to extend the meaning of 'in a document' in #57, we should avoid re-using 'insertedIntoDocument' also here.

It would be nice that the new name should be consistent with this issue #81, where `Node.inDocumentDeeply` is tentatively proposed. However, I do not like a term of 'in a document deeply' as a web-facing API name.

My naive idea: How about using a term of *connected*? Does it sound bad ida?

So my preference

1. `connectedIntoDocument/disconnectedIntoDocument` (If we prefer explicit long name)
2. `inserted/removed` (If we prefer a short name, however, we still need a good name for https://github.com/w3c/webcomponents/issues/81)


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/362#issuecomment-175739737

Received on Wednesday, 27 January 2016 16:50:19 UTC