• Button

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

    // Create the button
    let el = document.querySelector("#btn");
    let btn = Components.Button({
    el: el,
    type: Components.ButtonTypes.OutlineSuccess,
    isLarge: true,
    onClick: function(ev) {
    alert("The button was clicked.");
    }
    });

    Parameters

    Returns IButton

Generated using TypeDoc