OutputClassQuery

Type: XPathQuery

The OutputClassQuery CVK option may be used to set an extra cv-output-class attribute on the rendered HTML element using an XPath query.

If both OutputClass and OutputClassQuery are defined, then OutputClassQuery will have priority.

Example

configureAsFrame(sxModule, 'self::note', 'note', { outputClassQuery: `concat('note-', string(@type))` });

# Applies to:

- All families
Was this page helpful?