Feature Request: Navigation/modification of the Shadow DOM | Community
Skip to main content
February 22, 2023
Solved

Feature Request: Navigation/modification of the Shadow DOM

  • February 22, 2023
  • 1 reply
  • 1049 views

Our experimentation team has been requesting for better abilities to create campaigns with web components which utilize the shadow DOM. Our team, which builds the component library for their team, have been assisting the best we can and we have designed hooks like emitted events, etc. However, it doesn't not provide an overall good experience for the experimentation team using Target and would like to request a better way for teams to navigate the shadow root within Target itself.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Perrin_Ennen

Hi @jeffchew as long as the Shadow DOM is open - you can work with it using JavaScript. But yes it is a bit more effort.

1 reply

Perrin_Ennen
Community Advisor
Perrin_EnnenCommunity AdvisorAccepted solution
Community Advisor
February 23, 2023

Hi @jeffchew as long as the Shadow DOM is open - you can work with it using JavaScript. But yes it is a bit more effort.

jeffchewAuthor
February 24, 2023

Thank you for the response! We have been creating our design system using open Shadow DOM, and have been providing instruction to use JavaScript for access. 

Would be nice to have more integrated support for Shadow DOM access in Target so it is an easier experience for the experimentation team members that are not as familiar with JavaScript.