Skip to content

Profectus / wrappers/marks/mark / addMark

Function: addMark() ​

addMark(element, optionsFunc): asserts element is VueFeature & { mark: Mark }

Creates a mark to the top left of the given element with the given options.

Parameters ​

element ​

VueFeature

The renderable feature to display the tooltip on.

optionsFunc ​

() => MarkOptions

Mark options.

Returns ​

asserts element is VueFeature & { mark: Mark }

Defined in ​

profectus/src/wrappers/marks/mark.tsx:25