AbstractRange.endContainer
The endContainer
property of the AbstractRange
interface returns the Node
in which the end of the range is located.
Syntax
var endNode = range.endContainer
Value
The DOM Node
which contains the final character of the range.
Specifications
Specification |
---|
DOM Standard (DOM) # ref-for-dom-range-endcontainer① |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
endContainer |
90 |
90
18-79
|
69 |
No |
76 |
14.1 |
90 |
90 |
No |
64 |
14.5 |
15.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AbstractRange/endContainer