按下键盘功能键 (key.action)

声明

key.action(功能键)

参数及返回值

  • 功能键
    • 文本型,当前支持的功能键有:go, search, send, next, done, previous

支持的功能键说明

按键码 说明
go 前往
search 搜索
send 发送
next 下一步
done 完成
previous 上一步

示例

  -- 输入文本,并按键进行发送
  input('试试')
  key.action('send')
powered by GitbookFile Modify: 2021-03-27 23:14:19

results matching ""

    No results matching ""