Introduction
  • 18 Sep 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Introduction

  • Dark
    Light
  • PDF

Article summary

Description

The app object allows you to interact with your app and its objects directly.


Properties

Below is a list of properties supported by this object.

NameDescriptionUWPWebAvatars
nameReturns the name of your appYesYesYes
versionReturns the version of your appYesYesYes
pageCountReturns the total # of pages in your app's layoutYesYesYes
pageIndexReturns the index of the active page in your app's layoutYesYesNo
pageTitleReturns the title of the active page in your app's layoutYesYesNo

Functions

Below is a list of functions supported by this object.

NameDescriptionUWPWebAvatars
findReturns a specified app objectYesYesYes
getReturns a specified app object's value or a mapped curated needle valueYesYesYes
setSets a specified app object's valueYesYesYes
loadLoads multiple app object values from a single passed objectYesYesYes
listenRegisters specified app objects to listen for change eventsYesYesNo
linkLinks two groups of app objects together for a specified purposeYesYesNo
unlinkUnlinks two groups of app objects from each other that have an existing relationship via app.linkYesYesNo
enableToggles the enabled status of the specified app object(s)YesYesNo
visibleToggles the visibility of the specified app object(s)YesYesNo
paintPaints (colors) the specified app object(s)YesYesNo
plotRenders a plot visualization to a specified Picture app objectYesYesNo
selectedReturns whether or not the specified app object has a valid valueYesYesYes
selectedAllReturns whether or not all of the specified app objects have valid valuesYesYesYes
selectedAnyReturns whether or not any of the specified app objects have valid valuesYesYesYes
transcribeTranscribes a specified app object's languageYesYesYes
NameDescriptionUWPWebAvatars
locker.downloadDownloads a specified resource from your app's lockerYesYesYes

Remarks

Use the app object to interact with your app and its objects directly.

Accomplish tasks such as:

  • Listen for user input changes and take appropriate actions
  • Get, set, and validate user input values
  • Make suggestions to the user by painting user inputs based on logic
  • Modify your app's output language just before it is rendered
  • And much more!

What's Next