<dy-tooltip>

Example

API

DuoyunTooltipElement

Extends DuoyunPopoverElement

DuoyunTooltipElement Static Properties

Property Type
ghostStyle GhostStyle

DuoyunPopoverElement

Shadow DOM; Extends GemElement

DuoyunPopoverElement Constructor DuoyunPopoverElement()

Params Type
options PopoverOptions

DuoyunPopoverElement Static Properties

Property Type
ghostStyle GhostStyle

DuoyunPopoverElement Static Methods

Method Type
open { (e: Element, option: PopoverOptions): CloseCallback; (x: number, y: number, option: PopoverOptions): CloseCallback; (xywh: number[], option: PopoverOptions): CloseCallback; }

DuoyunPopoverElement Instance Properties

Property(Attribute) Reactive Type
debug(debug) Yes boolean
unreachable(unreachable) Yes boolean
disabled(disabled) Yes boolean
trigger(trigger) Yes 'click' | 'hover'
position(position) Yes Position | 'auto'
content Yes string | TemplateResult
ghostStyle Yes GhostStyle
open Emitter<null>
close Emitter<null>
get popoverElement DuoyunPopoverGhostElement | undefined

DuoyunPopoverElement Other

Type Value
Event open, close
Part slot