provide a way to handle elements in ShadowDom