UNPKG

vuetning

Version:

<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>

207 lines (206 loc) 5.57 kB
declare const _default: import("vue").DefineComponent<{ /** * Indicates whether the tooltip is disabled. */ disabled: BooleanConstructor; /** * Indicates whether the tooltip is on bottom position. */ bottom: BooleanConstructor; /** * Indicates whether the tooltip is on bottom left position. */ bottomLeft: BooleanConstructor; /** * Indicates whether the tooltip is on bottom right position. */ bottomRight: BooleanConstructor; /** * Indicates whether the tooltip is on left position. */ left: BooleanConstructor; /** * Indicates whether the tooltip is on left bottom position. */ leftBottom: BooleanConstructor; /** * Indicates whether the tooltip is on left top position. */ leftTop: BooleanConstructor; /** * Indicates whether the tooltip is on right position. */ right: BooleanConstructor; /** * Indicates whether the tooltip is on right bottom position. */ rightBottom: BooleanConstructor; /** * Indicates whether the tooltip is on right top position. */ rightTop: BooleanConstructor; /** * Indicates whether the tooltip is on top position. */ top: BooleanConstructor; /** * Indicates whether the tooltip is on top left position. */ topLeft: BooleanConstructor; /** * Indicates whether the tooltip is on top right position. */ topRight: BooleanConstructor; /** * Indicates whether the tooltip is visible. */ visible: BooleanConstructor; }, unknown, { /** * Initial scroll value. */ initialScroll: number; /** * Indicates whether the tooltip is currently visible. */ isVisible: boolean; /** * Mouse enter timeout. */ mouseEnterTimeout: number; /** * Mouse leave timeout. */ mouseLeaveTimeout: number; /** * Original popover top value. */ originalPopoverTop: number; }, { /** * The CSS class names for the popover. */ popoverClassNames(): string; }, { /** * Handler for mouseenter event. */ handleMouseEnter(): void; /** * Handler for mouseleave event. */ handleMouseLeave(): void; /** * Handle for scroll event. * @param event The scroll event. */ handleScroll(event: Event): void; /** * Positions the tooltip relative to its trigger. */ positionTooltip(): void; /** * Gets the left offset of the modal container. * @return The left offset value in px. */ getModalContainerLeftOffset(): string; /** * Get the calculated popover left. * @param trigger The trigger DOMRect. * @param popover The popover DOMRect. * @param nubbin The nubbin object. * @return The calculated left. */ getPopoverLeft(trigger: DOMRect, popover: DOMRect, nubbin: any): number; /** * Get the calculated popover top. * @param trigger The trigger DOMRect. * @param popover The popover DOMRect. * @param nubbin The nubbin object. * @return The calculated top. */ getPopoverTop(trigger: DOMRect, popover: DOMRect, nubbin: any): number; /** * Hides the tooltip. * @param element Tooltip wrapper element. */ hideTooltip(element: HTMLElement): void; /** * Shows the tooltip. * @param element Tooltip wrapper element. */ showTooltip(element: HTMLElement): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Indicates whether the tooltip is disabled. */ disabled: BooleanConstructor; /** * Indicates whether the tooltip is on bottom position. */ bottom: BooleanConstructor; /** * Indicates whether the tooltip is on bottom left position. */ bottomLeft: BooleanConstructor; /** * Indicates whether the tooltip is on bottom right position. */ bottomRight: BooleanConstructor; /** * Indicates whether the tooltip is on left position. */ left: BooleanConstructor; /** * Indicates whether the tooltip is on left bottom position. */ leftBottom: BooleanConstructor; /** * Indicates whether the tooltip is on left top position. */ leftTop: BooleanConstructor; /** * Indicates whether the tooltip is on right position. */ right: BooleanConstructor; /** * Indicates whether the tooltip is on right bottom position. */ rightBottom: BooleanConstructor; /** * Indicates whether the tooltip is on right top position. */ rightTop: BooleanConstructor; /** * Indicates whether the tooltip is on top position. */ top: BooleanConstructor; /** * Indicates whether the tooltip is on top left position. */ topLeft: BooleanConstructor; /** * Indicates whether the tooltip is on top right position. */ topRight: BooleanConstructor; /** * Indicates whether the tooltip is visible. */ visible: BooleanConstructor; }>>, { left: boolean; right: boolean; disabled: boolean; visible: boolean; bottom: boolean; bottomLeft: boolean; bottomRight: boolean; leftBottom: boolean; leftTop: boolean; rightBottom: boolean; rightTop: boolean; top: boolean; topLeft: boolean; topRight: boolean; }, {}>; export default _default;