-
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]: update the translation of CanvasRenderingContext2D.drawFocusIfNeeded()
method
#21995
Conversation
…sIfNeeded()` method
Preview URLs Flaws (1)URL:
(comment last updated: 2024-06-28 06:30:20) |
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.
请注意一下翻译的质量,至少在翻译完成后与英文文档大概对照一下或读一遍翻译后的内容。
--- | ||
|
||
{{APIRef}} | ||
|
||
**`CanvasRenderingContext2D.drawFocusIfNeeded()`** 是 Canvas 2D API 用来给当前路径或特定路径绘制焦点的方法,如果给定的元素获取了焦点。 | ||
Canvas 2D API 的 **`CanvasRenderingContext2D.drawFocusIfNeeded()`** 方法用于给定的元素获取了焦点时给当前路径或特定路径绘制焦点。 |
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.
请读一遍,我不是很喜欢现在的翻译
- element | ||
- : 是否需要设置焦点的元素。 | ||
- `element` | ||
- : 一个确认是否需要设置焦点的元素。 |
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/canvasrenderingcontext2d/drawfocusifneeded/index.md
Outdated
Show resolved
Hide resolved
files/zh-cn/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Tianyi Tao <[email protected]>
…sIfNeeded()` method
Description
Motivation
Additional details
Related issues and pull requests