altinn_editor_comment module

class AltinnEditorComment(time_units, conn, variable_selector_instance)

Bases: object

Module for viewing and editing comments in the Altinn Editor.

Parameters:
  • time_units (list[str])

  • conn (object)

  • variable_selector_instance (VariableSelector)

kommentarmodal()

Returns a modal component containing editing comments.

Return type:

Modal

layout()

Returns the layout for the Altinn Editor Comment module.

Return type:

Div

module_callbacks()

Defines the callbacks for the Altinn Editor Comment module.

Return type:

None