import { Components } from "gd-sprest-bs";// Create a toolbarlet 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" }] } ]}); Copy
import { Components } from "gd-sprest-bs";// Create a toolbarlet 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" }] } ]});
Optional
Generated using TypeDoc
Toolbar