Skip to content

Commit

Permalink
docs(ToggleButton): improve event docs
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed May 31, 2023
1 parent e025745 commit a351019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
showTabs: true
---

## ToggleButton (button) events
## `ToggleButton` events

| Events | Description |
| ----------- | ------------------------------------------------------------------------------------------------------------------------ |
| `on_change` | _(optional)_ will be called on state changes made by the user. Returns a boolean and string `{ checked, value, event }`. |

## ToggleButton (group) events
## `ToggleButton.Group` events

| Events | Description |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
showTabs: true
---

## ToggleButton (button) properties
## `ToggleButton` properties

| Properties | Description |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand All @@ -22,7 +22,7 @@ showTabs: true
| `skeleton` | _(optional)_ if set to `true`, an overlaying skeleton with animation will be shown. |
| [Space](/uilib/components/space/properties) | _(optional)_ spacing properties like `top` or `bottom` are supported. |

## ToggleButton (group) properties
## `ToggleButton.Group` properties

| Properties | Description |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
Expand Down

0 comments on commit a351019

Please sign in to comment.