Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/popover.d"

Index

Type aliases

IPopoverTypes

IPopoverTypes: { Auto: number; Bottom: number; Left: number; Right: number; Top: number }

Popover Types

Type declaration

  • Auto: number
  • Bottom: number
  • Left: number
  • Right: number
  • Top: number

Variables

Const Popover

Popover: (props: IPopoverProps) => IPopover
import { Components } from "gd-sprest-bs";

// Create the popover
let el = document.querySelector("#popover");
let popover = Components.Popover({
    el: el,
    isDismissible: true,
    btnProps: {
        text: "Popover Demo"
    },
    options: {
        container: "body",
        content: "This is the popover content.",
        title: "My Popover",
        trigger: "hover"
    }
});

Type declaration

Const PopoverTypes

PopoverTypes: IPopoverTypes

Popover Types

Generated using TypeDoc