mirror of
https://github.com/allankoechke/slint.git
synced 2026-12-03 09:33:25 +00:00
Don't use old syntax in docs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user