StaticRange.startContainer
The read-only startContainer
property of the StaticRange
interface returns the start Node
for the range.
Syntax
var node = staticNode.startContainer
Value
The DOM Node
inside which the start position of the range is found.
Specifications
Specification |
---|
DOM Standard (DOM) # ref-for-dom-range-startcontainer① |
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 | |
startContainer |
60 |
18 |
69 |
No |
47 |
10.1 |
60 |
60 |
No |
44 |
10.3 |
8.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/StaticRange/startContainer