Adobe Target and it's ability to mainpulate Angular JS objects | Community
Skip to main content
March 18, 2024
Solved

Adobe Target and it's ability to mainpulate Angular JS objects

  • March 18, 2024
  • 1 reply
  • 734 views

Disclaimer: I am not a dev so not 100% the terms I am using are correct.

 

Say we have a Angular JS element on our page that shows a panel (js angular object) as collapsed upon page load but we want to test it as expanded upon page load. Is this possible to do using Target? Thank you!

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 alexbishop

Yes, absolutely - one simple option would be to add some Custom Code in your Target activity that clicks on the element to expand it; as long as Target is executed early enough in the page load or view/state/route change process, then it would appear as if the element is expanded by default

1 reply

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
April 5, 2024

Yes, absolutely - one simple option would be to add some Custom Code in your Target activity that clicks on the element to expand it; as long as Target is executed early enough in the page load or view/state/route change process, then it would appear as if the element is expanded by default

PatrickBuAuthor
April 5, 2024

thanks, yes this is actually what we ended up doing!