nspek_control_view module¶
- class NspekControlView(time_units, control_class, outputs=None)¶
Bases:
ModuleBaseNspek variant av ControlView - tett på original implementasjon, men med control_class og uten hard dependency på altinnskjema.
- Parameters:
time_units (list[str])
control_class (type[ControlFrameworkBase])
outputs (list[str] | None)
- icon: str | Component¶
- implemented_as: Optional[Literal['Tab', 'Window']]¶
- label: str¶
- layout()¶
Generates the layout for the ControlView module.
- Returns:
A Div element containing two tables, kontroller and kontrollutslag.
- Return type:
Div
- module_callbacks()¶
Define the callbacks belonging to the module itself.
- Return type:
None
- module_id: str¶
- module_layout: Div | Tab¶
- module_name: str¶
- module_number: int¶