nspek_control_view module

class NspekControlView(time_units, control_class, outputs=None)

Bases: ModuleBase

Nspek variant av ControlView - tett på original implementasjon, men med control_class og uten hard dependency på altinnskjema.

Parameters:
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