Toolbar

less than 1 minute read

References

TypeScript

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

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

Code Playground