DiviAreaItem.setVisible()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviAreaItem.setVisible()
DiviAreaItem.setVisible(state, onDone)

This is an internal method that should not be used in third-party scripts.

Mark the area as visible or not-visible.

This method also adds or removes event handlers.

Params

state
(bool, required) Whether to show (true) or hide (false) the Area.
onDone
(callable, optional) Function to call after the animation is done.

Returns

A reference to the current DiviAreaitem for chaining.

Notes

No notes

Was this article helpful?

Related Articles