Popover

less than 1 minute read

Documentation

Web Component

// Return the popover properties return { btnProps: { text: "Popover Demo" }, options: { container: "body", content: "This is the popover content.", title: "My Popover", trigger: "hover" } };
<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs-wc/wc/dist/gd-sprest-bs.js"></script>
<bs-popover is-dismissible="true">
    // Return the popover properties
    return {
        btnProps: {
            text: "Popover Demo"
        },
        options: {
            container: "body",
            content: "This is the popover content.",
            title: "My Popover",
            trigger: "hover"
        }
    };
</bs-popover>