Skip to content

ccmjs Framework

Andre Kless edited this page Nov 23, 2025 · 1 revision

The ccmjs framework is automatically loaded as soon as a ccmjs-based web component is integrated into a webpage. It sets an object in the namespace window.ccm that represents the loaded ccmjs framework version and defines the Custom Element <ccm-app>.

Everything around ccmjs is capsuled in the single global namespace window.ccm.

The namespace contains the latest version of ccmjs that has been loaded so far within the webpage.

In the webpage a ccmjs version is represented as a JavaScript object.

The object provides methods for [using components]{@tutorial usage-of-components}, [loading of resources]{@tutorial loading-of-resources} and [data management]{@tutorial data-management}.

For [backwards compatibility]{@tutorial backwards-compatibility} each ccmjs version loaded on the webpage so far has its own inner namespace within window.ccm.

This ensures that different versions of ccmjs can be used without conflict within the same webpage.

Clone this wiki locally