Skip to content

Commit 8d7ed09

Browse files
Update task.md
1 parent 6bd26a3 commit 8d7ed09

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • 2-ui/4-forms-controls/2-focus-blur/4-edit-td-click

2-ui/4-forms-controls/2-focus-blur/4-edit-td-click/task.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ importance: 5
22

33
---
44

5-
# Edit TD on click
5+
# ویرایش TD با click
66

7-
Make table cells editable on click.
7+
سلول‌های جدول را با کلیک قابل ویرایش کنید.
88

9-
- On click -- the cell should become "editable" (textarea appears inside), we can change HTML. There should be no resize, all geometry should remain the same.
10-
- Buttons OK and CANCEL appear below the cell to finish/cancel the editing.
11-
- Only one cell may be editable at a moment. While a `<td>` is in "edit mode", clicks on other cells are ignored.
12-
- The table may have many cells. Use event delegation.
9+
- با کلیک -- سلول باید "قابل ویرایش" باشد. (textarea داخل آن نمایش داده شود)،‌ ما می‌توانیم HTML را تغییر دهیم. هیچ تفییر سایزی نباید وجود داشته باشد،‌تمام اندازه‌های هندسی باید یکسان بمانند.
10+
- دکمه‌های OK و CANCEL زیر سلول ظاهر می‌شوند تا ویرایش کردن را تمام/کنسل کنند.
11+
- دذ لحظه تنها یک سلول می‌تواند قابلیت ویرایش داشته باشد. زمانی که یک `<td>` در "حالت ویرایش" است، کلیک‌های روی بقیه سلول‌ها نادیده گرفته می‌شوند.
12+
- جدول ممکن است سلول‌های زیادی داشته باشد. از event delegation استفاده کنید.
1313

14-
The demo:
14+
نسخه‌ی نمایشی:
1515

1616
[iframe src="solution" height=400]

0 commit comments

Comments
 (0)