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

A little late, but why is `Callback` needed in the name? The term "callback" is understood to be a function passed into another function, to be called in the future by some other code. I never heard of class methods being called "callbacks" until I started using Custom Elements, and as user of the API I am never passing these methods anywhere, so they don't seem like "callbacks". I was just curious.

Maybe things like "whenConnected" and "whenDisconnected" would read better.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/362#issuecomment-241235913

Received on Sunday, 21 August 2016 02:54:09 UTC