We call Configuration the AgnosUI system to set the default state of components deeply in the application tree.
This is usually referred as context injection and is handy to configure a part of a web application, without having to pass properties down the chain.
You can check how each framework handles this need on their respective documentation:
The configuration is available out of the box as soon as components are created using the AgnosUI headless factories.
The headless packages also provide utilities for each framework to retrieve and update component configuration.
One of the most use cases of configuration is setting a default config for multiple sibling components.
Let's see it in action, using the Bootstrap flavour of the Alert component:
The Configuration is then used by all children with the modified state, as shown below:
Sample not found, make sure to fill the samples.ts file.