Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/toolbar.d"

Index

Variables

Const Toolbar

Toolbar: (props: IToolbarProps) => IToolbar
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" }] }
    ]
});

Type declaration

Generated using TypeDoc