The target option definition descriptor.

interface LinkTargetOptionDefinition {
    icon?: string;
    name: string;
    title?: string;
}

Properties

Properties

icon?: string

Specifies an icon to apply to the target button in ActionsView. This is usually an imported SVG.

If unset the target's title (or name as a fallback) will be displayed instead.

name: string

The unique name of the target option. It will be used to:

  • refer to one of the default targets or define a custom target
  • store the chosen target in model by setting linkTarget attribute
  • as a value of the linkTarget command
  • when registering a button for the target in the following manner: ('linkTarget:{name}').
title?: string

The target's title. The title will be handed over to locale for translation.

If unset defaults to {name}.