import { Components } from "gd-sprest-bs";// Create the popoverlet el = document.querySelector("#popover");let popover = Components.Popover({ el: el, className: "m-2", text: "My Popover", btnProps: { text: "Popover Demo", type: Components.ButtonTypes.OutlineDark }, options: { content: elContent, trigger: "focus" }}); Copy
import { Components } from "gd-sprest-bs";// Create the popoverlet el = document.querySelector("#popover");let popover = Components.Popover({ el: el, className: "m-2", text: "My Popover", btnProps: { text: "Popover Demo", type: Components.ButtonTypes.OutlineDark }, options: { content: elContent, trigger: "focus" }});
Optional
Generated using TypeDoc
Popover