altinn_editor_unit_details module

class AltinnEditorUnitDetails(time_units, conn, variable_selector_instance, variable_connection)

Bases: object

Module for viewing details about the selected unit.

Parameters:
  • time_units (list[str])

  • conn (object)

  • variable_selector_instance (VariableSelector)

  • variable_connection (dict[str, str])

layout()

Returns the layout of the module.

Return type:

Div

module_callbacks()

Defines the callbacks for the module.

Return type:

None

unit_details_modal()

Returns a modal component containing a table with enhetsinfo.

Return type:

Modal