mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Change doc formatting of arguments in callbacks and functions
- Use a single code fence for the entire signature. Some where uses the one, some the other format. This unifies to the single fence that's easy to read and avoids extra visual boxes. - Removed names from arguments as that's not valid syntax at the moment.
This commit is contained in:
parent
50481e3387
commit
2b7aa6ba2d
7 changed files with 21 additions and 17 deletions
|
@ -27,7 +27,7 @@ shortcut will be implemented in a future version: <https://github.com/slint-ui/s
|
|||
|
||||
### Callbacks
|
||||
|
||||
- **`edited(`_`string`_`)`**: Emitted when the text has changed because the user modified it
|
||||
- **`edited(string)`**: Emitted when the text has changed because the user modified it
|
||||
|
||||
### Example
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue