Example 3 — DC Objects

This example uses a core 4X method to convert an element into a DC (Dynamic Component) object.

This will give the element access to all of the properties and methods documented in the folder "Help/DC API/DC Object Properties and Methods", which can be used to add advanced functionality.

DC objects can be used for any purpose; be remapped to provide parent/child/sibling relationships that are separate from the DOM order hierarchy, and remain persistent even when they don't exist in the DOM.

Example 3 — Coding Sandbox

Convert a standard element into a DC object and add dynamic functionality.