Popover

Hierarchy

  • IPopover

Properties

el: HTMLElement

The element.

enable: (() => void)

Type declaration

    • (): void
    • Enables the popover.

      Returns void

hide: (() => void)

Type declaration

    • (): void
    • Hides an element’s popover.

      Returns void

setBody: ((content) => void)

Type declaration

    • (content): void
    • Sets the body element of the popover.

      Parameters

      • content: string | Element

      Returns void

setContent: ((content) => void)

Type declaration

    • (content): void
    • Sets the tippy content.

      Parameters

      • content: string | Element

      Returns void

setHeader: ((content) => void)

Type declaration

    • (content): void
    • Sets the header element of the popover.

      Parameters

      • content: string | Element

      Returns void

show: (() => void)

Type declaration

    • (): void
    • Reveals an element’s popover.

      Returns void

tippy: any

The tippy instance.

toggle: (() => void)

Type declaration

    • (): void
    • Toggles an element's popover.

      Returns void

Generated using TypeDoc