Skip to content

IExportMenuItem

Type interface

Export menu item interface.

Sources

IExportMenuItem is an interface: it describes a shape of data and is not imported on its own.

Properties

ascendants

Type List <IExportMenuItem>

Holds list of parent menu items to this item.

color

Type Color

Color to use as a background.

element

Type HTMLElement

Actual HTML element of the menu item.

format

Type string

Export format. (optional)

hidden

Type boolean

Should this item be hidden?

icon

Type string

A href of the image to show instead of a label.

id

Type string

A unique id to attach to the menu item.

interactions

Type InteractionObject

An InteractionObject representation of the menu item label.

label

Type string

Label to display in the menu.

Type Array <IExportMenuItem>

An array of IExportMenuItem items, to construct a sub-menu out of.

An Export menu can have any number of nesting levels.

options

Type IExportOptions[""]

Menu item options.

More info: IExportOptions

Type HTMLElementSince 4.10.12

An element that holds the sub-menu.

svg

Type string

Raw SVG content to add to instead of regular label.

title

Type stringSince 4.9.27

Alternative title to be displayed on hover.

type

Type ...

Item type, usually an export format.

unsupported

Type boolean

If this is set to true, it means that this specific menu item is not supported by the current client system.

This is usually populated by Export's supported Adapter.

More info: IExportAdapters