Skip to content

Commit 8c516c2

Browse files
Update article.md
1 parent 99e31a7 commit 8c516c2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

2-ui/4-forms-controls/2-focus-blur/article.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,14 @@
202202

203203
دوم، eventهای `focusin` و `focusout` وجود دارند. -- دقیقا مثل `focus/blur`، اما آن‌ها رفتار بالا رفتن حبابی دارند.
204204

205-
Note that they must be assigned using `elem.addEventListener`, not `on<event>`.
205+
توجه داشته باشید که آن‌ها باید با استفاده از `elem.addEventListener` انتصاب داده شوند، نه `on<event>`.
206206

207-
So here's another working variant:
207+
پس در اینجا یک نوع کار دیگر هست:
208208

209209
```html autorun height=80
210210
<form id="form">
211-
<input type="text" name="name" value="Name">
212-
<input type="text" name="surname" value="Surname">
211+
<input type="text" name="name" value="نام">
212+
<input type="text" name="surname" value="نام خانوادگی">
213213
</form>
214214

215215
<style> .focused { outline: 1px solid red; } </style>

0 commit comments

Comments
 (0)