Skip to content

eles.unlock()

eles.unlock — Collection > Grab, lock and pannability. Cytoscape.js signatures, parameters and return contract.

eles.unlock — Collection › Grab, lock and pannability

Preview · Collection › Grab, lock and pannability

Read in the complete API reference · All API members

// Unlock these elements
eles.unlock(): this

Unlock these elements.

Returns this

this collection, for chaining

Example

const node = cy.getElementById('a');
node.unlock();
console.log(node.locked()); // false

Example graph and handle setup