Skip to content
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

fix typos #16791

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,10 @@ function draw(img) {

当你从画布中生成了一个数据链接,例如,你可以将它用于任何{{HTMLElement("image")}}元素,或者将它放在一个有 download 属性的超链接里用于保存到本地。
yin1999 marked this conversation as resolved.
Show resolved Hide resolved

你也可以从画布中创建一个{{domxref("Blob")}}对像
你也可以从画布中创建一个{{domxref("Blob")}}对象
yin1999 marked this conversation as resolved.
Show resolved Hide resolved

- {{domxref("HTMLCanvasElement.toBlob", "canvas.toBlob(callback, type, encoderOptions)")}}
- : 这个创建了一个在画布中的代表图片的 `Blob` 对像
- : 这个创建了一个在画布中的代表图片的 `Blob` 对象

## 参见

Expand Down