loading... Pacem JS

Expression composer

The <pacem-expression> element is an input element which helps in composing expressions based on the available custom elements around.

Use case

This editor might seem involute at a first look, but it is particularly useful in a CMS scenario, where the entity to be edited is an actual element.
In this case the possibility to dynamically establish bindings between elements becomes very handy.

[{
"prop": "text", "type": "text", "display": { "name": "text to display", "ui": "expression" }, "extra": { "selector": "#container1 > *", "filter": "pacem-data" } }]