• Toolbar

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

    // Create a toolbar
    let el = document.querySelector("#toolbar");
    Components.Toolbar({
    el,
    spacing: 3,
    items: [
    { buttons: [{ text: "Button 1" }] },
    { buttons: [{ text: "Button 2" }] },
    { buttons: [{ text: "Button 3" }] },
    { buttons: [{ text: "Button 4" }] },
    { buttons: [{ text: "Button 5" }] }
    ]
    });

    Parameters

    Returns IToolbar

Generated using TypeDoc