Home  >  Article  >  Web Front-end  >  Reference given by msdn about setEndPoint_Basic knowledge

Reference given by msdn about setEndPoint_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 19:14:101522browse

Regarding setEndPoint, the reference given by msdn is:

TextRange.setEndPoint(sType, oTextRange)

oTextRange is another TextRange object

sType is a string type. There are 4 options.
StartToEnd
StartToStart
EndToStart
EndToEnd

"A text range has two endpoints: one at the beginning of the text range and one at the end."
text range There are 2 endpoints, one at the beginning and one at the end


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn