Configuration

Overview

We call Configuration the AgnosUI system to set the default state of widgets 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 widgets are created using the AgnosUI headless factories.
The headless packages also provide utilities for each framework to retrieve and update widget configuration.

In Action

One of the most use cases of configuration is setting a default config for multiple sibling widgets.
Let's see it in action, using the Bootstrap flavour of the Alert component:

Loading...

The Configuration is then used by all children with the modified state, as shown below:

Loading...

PREVIOUS
Introduction
NEXT
Slots