Custom Elements Context in

May 16, 2023

Custom elements help you to enhance the experience with the tools you need to integrate with external parties and add features to your solution. Here we explore how to access the context of your custom element's content item.

In the video below, I'll show you how to access the context of a custom element and what it contains. This information is pivotal to some of the customisations that you might want to add to your solution.

As with the previous videos, this custom element wouldn't add any value to an actual project but is just intended to explore how to access the content item context.

The source code for this (and some other custom elements) can be found on my GitHub: