Skip to content

Type Alias: HintPopover ​

ts
type HintPopover = {
  align?: Alignment;
  buttonText?: string;
  component?: PopoverRenderModel["component"];
  description?: string;
  onButtonClick?: HintHook;
  onPopoverRender?: (popover, opts) => void;
  popoverClass?: string;
  props?: Record<string, unknown>;
  showArrow?: boolean;
  showButton?: boolean;
  side?: Side;
  title?: string;
};

Properties ​

PropertyTypeDescription
align?Alignment-
buttonText?string-
component?PopoverRenderModel["component"]driver-vue addition: a Vue component rendered as the popover body.
description?string-
onButtonClick?HintHook-
onPopoverRender?(popover, opts) => void-
popoverClass?string-
props?Record<string, unknown>driver-vue addition: extra props passed to component.
showArrow?booleandriver-vue addition: render the arrow pointing at the beacon/element. (default: true)
showButton?boolean-
side?Side-
title?string-

Released under the MIT License.