Skip to content

Visibility Tools

The snaptrude.tools.visibility namespace provides functions to control the visibility of components.

Functions

hide(components: Component[])

Hides the specified components.

  • Parameters:
    • components: Component[] - The components to hide.

show(components: Component[])

Shows (unhides) the specified components.

  • Parameters:
    • components: Component[] - The components to show.

isolate(components: Component[])

Isolates the specified components by hiding everything else.

  • Parameters:
    • components: Component[] - The components to isolate.