1. Home
  2. The Editor
  3. Identifying And Selecting Components

Identifying And Selecting Components

Sometimes you need to select one or multiple components. Here are a few examples:

  • You wish to use an Action to show one specific component, but not always the same component, as that may change
  • You wish to use a General Action to animate multiple components

The first step is then to understand how you can identify components.

Selecting Multiple Components

Once your relevant components have been properly named, added tags to, and/or a specific list of components has been defined, and you click for example Select components on a General Action Show, you can then add selectors that:

  1. Group components based on Tags
  2. Select a single component
  3. Select a specific list of components

Tip: You can add as many of the above selectors as you wish and they are not exclusive. So you can select for example components with the tag “red” and also components with the tag “blue” by adding two entries based on tags selectors.

Based On Tags – Manual
  1. Click Based on Tags
  2. Type in the tags manually.

Tip: If you have given tags to your components, you will see them in the autocomplete dropdown to make sure there are no typos.

Based on Tags – From Another Field

Sometimes you want to dynamically change which tags are being used, so that the set of selected components changes. In these cases, do the following instead:

  1. Click Based on Tags
  2. Change the dropdown towith value from…
  3. Select an existing Tags field
Based on Component
  1. Click Based on Component
  2. Click Select Component
  3. Search for the component name you wish to use and select it
Based on Component List

Sometimes you want to have a specific list of components, which may change dynamically, by adding or removing components from it, and you wish to use that list as the target for a General Action, so that whenever it runs it will target each component currently on the list. To do so:

  1. Click Based on Component List
  2. Click Select Component List
  3. Find a list of components which has been defined elsewhere
Updated on November 22, 2021

Was this article helpful?

Related Articles