MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / canSelect

Method canSelect

packages/core/src/document/node/node.ts:268–272  ·  view source on GitHub ↗

* link to componentMeta.advanced.callbacks.onSelectHook

()

Source from the content-addressed store, hash-verified

266 * link to componentMeta.advanced.callbacks.onSelectHook
267 */
268 canSelect() {
269 const onSelectHook = this.componentMeta?.advanced?.callbacks?.onSelectHook
270 const canSelect = typeof onSelectHook === 'function' ? onSelectHook(this) : true
271 return canSelect
272 }
273
274 /**
275 * link to componentMeta.advanced.callbacks.onClickHook

Callers 5

selectMethod · 0.80
selectAllMethod · 0.80
checkNodeFunction · 0.80
handleSelectFunction · 0.80
handleSelectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected