[w3c/webcomponents] [idea] Lifecycle method: beforeDisconnectedCallback (#825)

I have a component that needs to affect the previous and next element siblings when it gets disconnected. However, by the time we hit `disconnectedCallback`, the element has already been removed from the DOM, so there's no context. Is there any way to do something similar to a `beforeDisconnectedCallback`, or if not would it be possible to get the method?

-- 
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/825

Received on Friday, 26 July 2019 22:30:39 UTC