Skip to content

Context

The context contains information about the current page such as attributes and Data Sources.

enpage.context

Hold the current page context.

javascript
const { attributes, data } = enpage.context;

console.log("Hello %s", attributes.firstName);

See also Attributes and Data Sources.

Enpage SDK is released under AGPL-3.0 license