This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The startOffset
property of the StaticRange
interface returns the offset into the start node of the range's start position.
Syntax
var startOffset = staticRange.startOffset staticRange.startOffset = startOffset
Value
An unsigned long integer.
Specifications
Specification | Status | Comment |
---|---|---|
Static Range The definition of 'startOffset' in that specification. |
Editor's Draft | Initial definition. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 60 | ? | ? | ? | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 60 | 60 | ? | ? | ? | ? | ? |