Button Group

less than 1 minute read

Documentation

Web Component

// Return the button group properties return { buttonType: $REST.Components.ButtonTypes.Primary, buttons: [ { "text": "Left" }, { "text": "Middle" }, { "text": "Right" } ] }
<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs-wc/wc/dist/gd-sprest-bs.js"></script>
<bs-button-group>
    // Return the button group properties
    return {
        buttonType: $REST.Components.ButtonTypes.Primary,
        buttons: [
            { "text": "Left" },
            { "text": "Middle" },
            { "text": "Right" }
        ]
    }
</bs-button-group>