Back to data overview

Components Example 5: Activate or deactivate components on conditions

When you want components only active in your app, when a condition is filled. You can use the activeOn option. It allowes definition of a datarequetor and the component is only is build up, when at least one dataset is returned.

VIEW-Requestor

<div id="components_example5" swa="Present FROM ../../data/concepts/components_example5.json"></div>
         
CONFIGURATION

Activation configuration in data:

DATASOURCE
Back to components overview