Skip to content

ele.hidden()

eles.hidden — Collection > Visibility and emphasis. Cytoscape.js signatures, parameters and return contract.

eles.hidden — Collection › Visibility and emphasis

Preview · Collection › Visibility and emphasis

Read in the complete API reference · All API members

// The complement of visible()
ele.hidden(): boolean

The complement of visible().

Returns boolean

true when the first element does not draw

Example

console.log(eles.hidden()); // false

Example graph and handle setup