Skip to content

Commit 4a19aa4

Browse files
authored
Update article.md
1 parent 582bf34 commit 4a19aa4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ drawHtmlTree(selectPDomtree, 'div.select-p-domtree', 690, 320);
109109
همانطور که می بینیم، این عبارت دقیقاً از دو فرزند `<p>` با نمایه های `0` و `1` تشکیل شده است:
110110
![](range-example-p-0-1.svg)
111111

112+
112113
- نقطه شروع `<p>` به عنوان `node` والد، و `0` به عنوان آفست است.
113114

114115
بنابراین می‌توانیم آن را به‌عنوان `range.setStart(p, 0)` تنظیم کنیم.

0 commit comments

Comments
 (0)