global-context/integration/widget-controls/widget-controls-factory.ts
Hierarchical configuration for widget control visibility and behavior across different contexts.
This interface defines control settings organized by:
Each level can specify which controls to show/hide and their default link states to the global context. The structure mirrors how widgets are rendered in different scenarios.
Example :const settings: WidgetControlSettings = {
dashboard: {
live: {
inline: { showRefresh: true, showRefreshInterval: false }
}
},
defaultLinks: {
dashboard: {
live: { dateTimeContext: true, aggregation: true }
}
}
};
Properties |
|
| config |
config:
|
Type : literal type
|
| Optional |
| dashboard |
dashboard:
|
Type : literal type
|
| Optional |
| viewAndConfig |
viewAndConfig:
|
Type : literal type
|
| Optional |