Skip to content

Commit fe24ca5

Browse files
authored
docs:translate task.md
1 parent 838bf98 commit fe24ca5

File tree

1 file changed

+4
-5
lines changed
  • 6-data-storage/02-localstorage/1-form-autosave

1 file changed

+4
-5
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
# 自动保存表单域
12

2-
# Autosave a form field
3+
创建一个 `textarea`,每当值发生变化时,可以自动保存。
34

4-
Create a `textarea` field that "autosaves" its value on every change.
5+
因此,如果用户偶尔关闭了页面,然后重新打开,他会发现之前输入的值仍然保留着。
56

6-
So, if the user occasionally closes the page, and opens it again, he'll find his unfinished input at place.
7-
8-
Like this:
7+
像这样:
98

109
[iframe src="solution" height=120]

0 commit comments

Comments
 (0)