Working with Elements Component
  • 12 Dec 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Working with Elements Component

  • Dark
    Light
  • PDF

Article Summary

When to Use the Elements Component?

The Elements component is used to dynamically modify the look and feel of App Designer components used to design the App. It encompasses various blocks designed for this purpose such as:

  • Create Element
  • Remove Element
  • Append Element
  • Get Element
  • GetElement Property
  • SetElement Property
  • RemoveElementProperty
  • GetElementStyle
  • SetElementStyle

GetElement

Description

The GetElement block works by fetching the element by: Id, ClassName, Name, Tag Name. It returns the value that has been selected within the block. 

Block Layout

BlockInput ParametersOutput

Choose a variable in the Get element by type from the dropdown list.

In Value -  add Text

Returns element object or list of element objects based on choice.

Sample Behavior Implementation

Usecase: << the details of the logic and how the block is used is explained here>>

Screenshot:temp Hints: <<Any added info that helps the user to use this block effectively>>



Was this article helpful?
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses