altinn_control_view module

class ControlView(control_dict, outputs=None)

Bases: ModuleBase

Provides a layout and functionality for a modal that offers a tabular view of the controls.

Parameters:
  • control_dict (dict[str, Any])

  • outputs (list[str] | None)

create_layout()

Generates the layout for the ControlView module.

Returns:

A Div element containing two tables, kontroller and kontrollutslag.

Return type:

Div

icon: str | Component
implemented_as: Literal['Tab', 'Window'] | None
label: str
layout()

Defines the layout for the ControlView module.

This is an abstract method that must be implemented by subclasses to define the module’s layout.

Returns:

A Dash HTML Div component representing the layout of the module.

Return type:

Div

module_callbacks()

Registers Dash callbacks for the ControlView module.

Return type:

None

module_id: str
module_layout: Div | Tab
module_name: str
module_number: int