Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jsdom/jsdom
/ index
Method
index
lib/jsdom/living/nodes/HTMLOptionElement-impl.js:94–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
92
}
93
94
get index() {
95
const
select = closest(this,
"select"
);
96
if
(select === null) {
97
return
0;
98
}
99
100
return
select.options.indexOf(this);
101
}
102
103
get selected() {
104
return
this._selectedness;
Callers
15
splitText
Method · 0.80
normalize
Method · 0.80
_insert
Method · 0.80
_remove
Method · 0.80
compareBoundaryPointsPosition
Function · 0.80
setStartBefore
Method · 0.80
setStartAfter
Method · 0.80
setEndBefore
Method · 0.80
setEndAfter
Method · 0.80
deleteContents
Method · 0.80
intersectsNode
Method · 0.80
selectNodeWithinRange
Function · 0.80
Calls
1
indexOf
Method · 0.80
Tested by
no test coverage detected