mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Don't use old syntax in docs
This commit is contained in:
parent
4bc741a04c
commit
fd3f974d7e
8 changed files with 23 additions and 23 deletions
|
@ -729,8 +729,8 @@ public:
|
|||
///
|
||||
/// Example: imagine the .slint file contains the given global:
|
||||
/// ```slint,no-preview
|
||||
/// export global Logic := {
|
||||
/// callback to_uppercase(string) -> string;
|
||||
/// export global Logic {
|
||||
/// pure callback to_uppercase(string) -> string;
|
||||
/// }
|
||||
/// ```
|
||||
/// Then you can set the callback handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue