configure As Conref
Type: Function
How to get configureAsConref?
JavaScript
import configureAsConref from 'fontoxml-dita/src/configureAsConref.js'
Configure nodes matching the given selector to work as a dita conrefs. A single call to this function configures both block and inline conrefs.
Automatically uses the DitaConrefReferencePopover.
Use the conrefs-use-permanent-references configuration variable to define whether the value of the conref
attribute is a permanent reference which should be resolved.
Arguments
sx
Module (Required)
Type: SxModule
selector
(Required)
Type: XPathTest
The @conref attribute selector part is automatically added.
markup
Label (Required)
Type: String
options
(Required)
Type: CvkOptions