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:
- Group components based on Tags
- Select a single component
- 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
- Click Based on Tags
- 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:
- Click Based on Tags
- Change the dropdown to “with value from…“
- Select an existing Tags field
Based on Component
- Click Based on Component
- Click Select Component
- 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:
- Click Based on Component List
- Click Select Component List
- Find a list of components which has been defined elsewhere