EditContext:characterBoundsRangeStart 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
EditContext
接口的只读属性 characterBoundsRangeStart
表示可编辑文本内容中与 characterBounds
数组中的第一项对应的字符索引。
例如,如果 EditContent
包含字符 abc
,且 characterBoundRangeStart
为 1
,则 characterBounds
数组中的第一个项包含字符 b
的边界。
值
一个 Number
。
规范
Specification |
---|
EditContext API> # dom-editcontext-characterboundsrangestart> |
浏览器兼容性
Loading…