Skip to content

eles.selectify()

eles.selectify — Collection > Selection. Cytoscape.js signatures, parameters and return contract.

eles.selectify — Collection › Selection

Preview · Collection › Selection

Read in the complete API reference · All API members

// Make these elements selectable
eles.selectify(): this

Make these elements selectable.

Returns this

this collection, for chaining

Example

const node = cy.getElementById('a');
node.selectify();
console.log(node.selectable()); // true

Example graph and handle setup