-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[zh-cn]: create the translation of VirtualKeyboard.geometryChange
event
#22045
base: main
Are you sure you want to change the base?
Conversation
Preview URLs Flaws (4)URL:
External URLs (1)URL:
(comment last updated: 2024-07-07 15:59:26) |
|
||
{{domxref("VirtualKeyboard")}} 接口的 **`geometrychange`** 事件在当屏幕上的虚拟键盘在显示和隐藏状态之间切换时触发。 | ||
|
||
`geometrychange` 事件非常有用,用于检测虚拟键盘何时出现和消失,以便根据需要调整布局。这在使用 {{domxref("VirtualKeyboard_API", "Virtual Keyboard API", "", "nocode")}} 时尤为重要,可以禁用浏览器在虚拟键盘显示和隐藏时自动调整视窗大小。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
files/zh-cn/web/api/virtualkeyboard/geometrychange_event/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/web/api/virtualkeyboard/geometrychange_event/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
|
||
{{APIRef("VirtualKeyboard API")}}{{SeeCompatTable}}{{securecontext_header}} | ||
|
||
{{domxref("VirtualKeyboard")}} 接口的 **`geometrychange`** 事件在当屏幕上的虚拟键盘在显示和隐藏状态之间切换时触发。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{domxref("VirtualKeyboard")}} 接口的 **`geometrychange`** 事件在当屏幕上的虚拟键盘在显示和隐藏状态之间切换时触发。 | |
{{domxref("VirtualKeyboard")}} 接口的 **`geometrychange`** 事件会在屏幕虚拟键盘在显示和隐藏状态之间切换时触发。 |
|
||
{{domxref("VirtualKeyboard")}} 接口的 **`geometrychange`** 事件在当屏幕上的虚拟键盘在显示和隐藏状态之间切换时触发。 | ||
|
||
`geometrychange` 事件非常有用,用于检测虚拟键盘何时出现和消失,以便根据需要调整布局。这在使用 {{domxref("VirtualKeyboard_API", "Virtual Keyboard API", "", "nocode")}} 时尤为重要,可以禁用浏览器在虚拟键盘显示和隐藏时自动调整视口大小。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`geometrychange` 事件非常有用,用于检测虚拟键盘何时出现和消失,以便根据需要调整布局。这在使用 {{domxref("VirtualKeyboard_API", "Virtual Keyboard API", "", "nocode")}} 时尤为重要,可以禁用浏览器在虚拟键盘显示和隐藏时自动调整视口大小。 | |
`geometrychange` 事件对于检测虚拟键盘何时出现和消失(以便根据需要调整布局)非常有用。这在使用{{domxref("VirtualKeyboard_API", "虚拟键盘 API", "", "nocode")}} 以禁用浏览器在虚拟键盘显示和隐藏时自动调整视口大小时尤为重要。 |
|
||
## 语法 | ||
|
||
使用事件名称作为 {{domxref("EventTarget.addEventListener", "addEventListener()")}} 方法的参数,或者设置事件处理器属性。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使用事件名称作为 {{domxref("EventTarget.addEventListener", "addEventListener()")}} 方法的参数,或者设置事件处理器属性。 | |
在 {{domxref("EventTarget.addEventListener", "addEventListener()")}} 等方法中使用事件名称,或者设置事件处理器属性。 |
|
||
## 事件类型 | ||
|
||
一个通用的 {{domxref("Event")}}。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不需要强调数量
一个通用的 {{domxref("Event")}}。 | |
通用 {{domxref("Event")}}。 |
- {{domxref("VirtualKeyboard_API", "VirtualKeyboard API", "", "nocode")}} | ||
- [使用 VirtualKeyboard API 实现完全控制](https://developer.chrome.com/docs/web-platform/virtual-keyboard/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- {{domxref("VirtualKeyboard_API", "VirtualKeyboard API", "", "nocode")}} | |
- [使用 VirtualKeyboard API 实现完全控制](https://developer.chrome.com/docs/web-platform/virtual-keyboard/) | |
- {{domxref("VirtualKeyboard_API", "虚拟键盘 API", "", "nocode")}} | |
- [使用虚拟键盘 API 实现完全控制](https://developer.chrome.com/docs/web-platform/virtual-keyboard/) |
…vent
Description
Motivation
Additional details
Related issues and pull requests