MCPcopy
hub / github.com/riophae/vue-treeselect / findOptionByNodeId

Function findOptionByNodeId

test/unit/specs/shared.js:133–135  ·  view source on GitHub ↗
(wrapper, nodeId)

Source from the content-addressed store, hash-verified

131}
132
133export function findOptionByNodeId(wrapper, nodeId) {
134 return wrapper.find(`.vue-treeselect__option[data-id="${nodeId}"]`)
135}
136
137export function findOptionArrowContainerByNodeId(wrapper, nodeId) {
138 return findOptionByNodeId(wrapper, nodeId).find('.vue-treeselect__option-arrow-container')

Callers 9

Menu.spec.jsFile · 0.90
Props.spec.jsFile · 0.90
Searching.spec.jsFile · 0.90
findOptionArrowByNodeIdFunction · 0.85
findCheckboxByNodeIdFunction · 0.85
findLabelByNodeIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected