WebReferencePopover

Type: React component

A popover used for web references.

Is registered under the name WebReferencePopover.

Use the popover in the family configuration by adding visualization.popoverComponentName and visualization.popoverData.

An example on how to use WebReferencePopover in the family configuration:

JavaScript

configureAsInlineLink(sxModule, 'self::xref[@format="html"]', 'hyperlink', {
	emptyElementPlaceholderText: 'type the link text',
	popoverComponentName: 'WebReferencePopover',
	popoverData: {
		editOperationName: 'dita-web-reference-edit',
		targetQuery: '@href'
	},
	referenceQuery: '@href'
});

Props

  1. data

    (Required)

    Type: Object

    The popoverData that should be provided in the family configuration.

    Properties