• Tooltip

    import { Components } from "gd-sprest-bs";

    // Create the tooltip
    let el = document.querySelector("#tooltip");
    let tooltip = Components.Tooltip({
    el: el,
    content: "This is the tooltip content.",
    placement: Components.TooltipPlacements.Top,
    theme: Components.TooltipTypes.LightBorder,
    btnProps: {
    text: "Tooltip",
    type: Components.ButtonTypes.OutlineDark
    }
    });

    Parameters

    Returns ITooltip

Generated using TypeDoc