-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想在全局设定一个back键 #19
Comments
日志上输入input 是 27 也就是 esc 但是没有回调为什么 |
下午我看看 |
我试了一下,没什么问题啊: 这样写,按下esc键,会打印debug,说明按键触发命令是正常的:
这样写,可以实现back的功能, <window closable="no"
v-on:global_key_up:escape="{fscript, args=back()}">
...
</window> home_global_back的API注释是否有问题,导致没有生成对应的命令? |
更新awtk/awtk-mvvm到最新代码,先在PC上试试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v-on:global_key_up:escape="{global_back}"
ret_t home_global_back(home_t *home) { return navigator_back(); }
但是没有生效,
The text was updated successfully, but these errors were encountered: