Module: QTimetrap::Entries::ListTaskEditorHelpers

Included in:
ListComponent
Defined in:
app/components/entries/list_task_editor_helpers.rb

Overview

Public helpers for active task editor lifecycle.

Instance Method Summary collapse

Instance Method Details

#close_active_task_editorObject



7
8
9
10
11
# File 'app/components/entries/list_task_editor_helpers.rb', line 7

def close_active_task_editor
  return unless active_task_container

  handle_entry_task_focus_out(active_task_container)
end

#task_editor_widget?(widget) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
16
17
# File 'app/components/entries/list_task_editor_helpers.rb', line 13

def task_editor_widget?(widget)
  return false unless widget

  task_editor_widget_names.include?(widget.object_name)
end