We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e2d549 commit 7b2b2ebCopy full SHA for 7b2b2eb
docs/astro/src/content/docs/reference/primitive-types.mdx
@@ -178,7 +178,7 @@ It returns a platform-native description of the key combination.
178
179
```slint
180
export component KeysToString inherits FocusScope {
181
- undo := Shortcut {
+ undo := KeyBinding {
182
keys: @keys(Control + Z);
183
activated => { debug("UNDO") }
184
}
@@ -387,6 +387,5 @@ export component Example {
387
property<float> xxx1: xxx.to-float(); // 42.1
388
property<bool> xxx2: xxx.is-float(); // true
389
property<int> xxx3: 45.8; // 45
390
- property<string> xxx4: @keys(Control + A); // "⌘A" on macOS, "Ctrl+A" on other platforms, etc.
391
392
```
0 commit comments