Skip to content

Commit db901b7

Browse files
authored
Update article.md
1 parent 14f2e56 commit db901b7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

2-ui/99-ui-misc/02-selection-range/article.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -505,12 +505,12 @@ The exception is some selection methods, that replace the existing selection, su
505505
عناصر فرم، مانند `input` و textarea [special API for selection](https://html.spec.whatwg.org/#textFieldSelection) را بدون اشیاء `Selection` یا `Range` ارائه می‌کنند. از آنجایی که مقدار ورودی یک متن خالص است، نه HTML، نیازی به چنین اشیایی نیست، همه چیز بسیار ساده تر است.
506506
507507
ویژگی ها:
508-
- `input.selectionStart` -- position of selection start (writeable),
509-
- `input.selectionEnd` -- position of selection end (writeable),
510-
- `input.selectionDirection` -- selection direction, one of: "forward", "backward" or "none" (if e.g. selected with a double mouse click),
508+
- `input.selectionStart` -- موقعیت شروع انتخاب (قابل نوشتن)،
509+
- `input.selectionEnd` -- موقعیت انتهای انتخاب (قابل نوشتن)،
510+
- `input.selectionDirection` -- جهت انتخاب، یکی از: "backward"، "backward" یا "none" (به عنوان مثال اگر با دوبار کلیک ماوس انتخاب شده باشد)،
511511
512-
Events:
513-
- `input.onselect` -- triggers when something is selected.
512+
(رویداد ها)Events:
513+
- `input.onselect` -- هنگامی که چیزی انتخاب می شود فعال می شود.
514514
515515
Methods:
516516

0 commit comments

Comments
 (0)