Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new block: ButtonGroup #5

Closed
Awilum opened this issue May 10, 2021 · 0 comments
Closed

Add new block: ButtonGroup #5

Awilum opened this issue May 10, 2021 · 0 comments

Comments

@Awilum
Copy link
Member

Awilum commented May 10, 2021

Block: ButtonGroup
Render group of buttons together on a single line or stack them in a vertical column.

- type: ButtonGroup
  properties: 
    id: # ButtonGroup ID
    title: # ButtonGroup title
    class: # ButtonGroup class
    style: # ButtonGroup style array
    data: # ButtonGroup data array
    events: # ButtonGroup events array
    size: # ButtonGroup size (large, small)
    vertical: # ButtonGroup vertical (set: true)
    buttons:
      - type: Button 
        properties:
          id: # Button ID
          title: # Button title
          class: # Button class
          style: # Button style array
          data: # Button data array
          events: # Button events array
          type: # Button type (primary, secondary, success, info, warning, danger, link)
          icon:
            name: # Icon name
            set: # Icon set
      - type: ButtonToggle
        properties:
          id: # Button ID
          title: # Button title
          class: # Button class
          style: # Button style array
          data: # Button data array
          events: # Button events array
          type: # Button type (primary, secondary, success, info, warning, danger, link)
          icon:
            name: # Icon name
            set: # Icon set
          toogle:
            class: # Button toogle class
            style: # Button toogle style array
            data: # Button toogle data array
          items:
            id: # Item ID
            title: # Item title
            class: # Item class
            style: # Item style array
            data: # Item data array
            href: # Item href
            icon:
              name: # Icon name
              set: # Icon set

Epic: #1

@Awilum Awilum added this to the 1.0.0 milestone May 10, 2021
@Awilum Awilum self-assigned this May 10, 2021
@Awilum Awilum closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant