Skip to main content

KPopoverOption

kds-plugin-document / Exports / KPopoverOption

Interface: KPopoverOption

popover 选项

The KPopoverOption class represents the popover option.

Table of contents​

Properties​

Properties​

content​

• content: string

popover 内容

The popover content.

Defined in​

api.d.ts:675


placement​

• Optional placement: KPopoverPlacement

popover 相对于挂载点的位置,默认为 "top"

The relative placement of popover to the mount point. The default value is "top".

Defined in​

api.d.ts:683


popupOffset​

• Optional popupOffset: number[]

popover 相对偏移,格式为[水平,竖直],分别向右、向下为正方向

The relative offset of popover which in the form [horizontal, vertical], with positive directions to the right and down.

Defined in​

api.d.ts:691