mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
api docs (#2240)
* api docs * more docstrings * logs * docs shakeup * fix notes, added intro to all apis * Remove defaults to * add note to events * note * use fira code
This commit is contained in:
@@ -52,12 +52,15 @@ The switch widget provides the following component classes:
|
||||
|
||||
## Messages
|
||||
|
||||
### ::: textual.widgets.Switch.Changed
|
||||
- [Switch.Changed][textual.widgets.Switch.Changed]
|
||||
|
||||
## Additional Notes
|
||||
|
||||
- To remove the spacing around a `Switch`, set `border: none;` and `padding: 0;`.
|
||||
|
||||
## See Also
|
||||
---
|
||||
|
||||
- [Switch](../api/switch.md) code reference
|
||||
|
||||
::: textual.widgets.Switch
|
||||
options:
|
||||
heading_level: 2
|
||||
|
||||
Reference in New Issue
Block a user