visible
  • 30 Oct 2020
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

visible

  • Dark
    Light
  • PDF

Article summary

Description

Toggles the visibility of the specified app object(s).


Input Parameters

NameTypeRequiredDescription
tokensOrNamesTextYesComma-seperated list of app object token(s) or name(s)
visibleBooleanYesVisibility (true = visible, false = invisible)

Returns

No return value.


Examples

// hide app objects [10] and [15]
app.visible("[10], [15]", false);
// show app objects [10] and [15]
app.visible("[10], [15]", true);

Remarks

By default, all app objects are visible. However, your scripts can alter this behavior based on user selections or other criteria to deliver a more streamlined user experience.

Token Syntax

This function uses the native app object token syntax, which refers to the ID of an object within your app that is enclosed in square brackets.

Example: [10]


What's Next