ToolJet/docs/versioned_docs/version-2.29.0/tooljet-concepts/exposed-variables.md
Karan Rathod 7d4cd6da47
[docs]:app builder 1.5 updates (#8672)
* add getter function and table transformation docs

* add dropdown, number-input, password-input and text-input docs

* [docs] custom parameters for queries

* update docs for revamped components, runJS and runPy functions and sidebar

* change order of properties and other misc changes

* update query panel and other minor fixes

* added version 2.29.0

---------

Co-authored-by: Shubhendra <withshubh@gmail.com>
2024-02-15 11:51:55 +05:30

1.3 KiB

id title
exposed-variables Exposed Variables

Exposed Variables help in accessing and manipulating data within components. These variables are automatically created and updated as users interact with the application. Whether it's capturing text from a text editor, checking the visibility of a component or retrieving selections from a dropdown menu, exposed variables are integral for dynamic data handling in ToolJet applications.

Preview Of Exposed Variables

Accessing Exposed Variables

Each component in ToolJet has its own set of exposed variables, which hold specific data related to that component. For example, in the Text Input component, the value variable is used. This variable is updated every time a user enters something in the text editor. It can be dynamically accessed using JavaScript notation: {{components.textinput1.value}}. This feature allows developers to easily track and utilize the data entered by users in real-time.

For detailed information about the exposed variables of the components, please refer to their respective documentation.