Context
areas: content
The Context
block creates a new context. It can be used at a page level to create the context for the page, or it can be used inside a page to create a separate context (for example to create a new context for a web form).
Block
content
Block Setup
id: block_id
type: Context
Settings
Context JSON Schema Definition
type: object
properties:
events:
additionalProperties: false
properties:
onClick:
description: Trigger actions when the Context is clicked.
type: array
onEnter:
description: >-
Trigger actions every time a context is mounted and keep the page in
loading until all actions have finished.
type: array
onEnterAsync:
description: >-
Trigger actions every time a context is mounted and do not keep the page
in loading.
type: array
onInit:
description: >-
Trigger actions the first time a context is mounted and keep the page in
loading until all actions have finished.
type: array
onInitAsync:
description: >-
Trigger actions the first time a context is mounted and do not keep the
page in loading.
type: array
type: object
properties:
additionalProperties: false
properties:
content:
description: >-
Context content string, alternatively provide and list of blocks as
Context content.
type: string
style:
description: Css style object to apply to Context div.
type: object
type: object