Skip to content

Collection grabbable

maxkfranz edited this page Mar 2, 2012 · 3 revisions

node.grabbable()

Get whether a node is currently grabbable, meaning the user can move the node.

node.grabbable()

Gets whether the node is able to be grabbed by the user

Details

This function returns true if the node is grabbable, false if ungrabbable. For collections, whether the first element is grabbable is returned.

Examples

var n1IsGrabbable = cy.nodes("#n1").grababble();

Clone this wiki locally