Module: MobileWorkflow::Displayable

Includes:
Steps::List, Steps::Map, Steps::PieChart, Steps::Question, Steps::Stack, Steps::StyledContent::Grid, Steps::StyledContent::Stack
Included in:
ApplicationRecord
Defined in:
app/models/concerns/mobile_workflow/displayable.rb,
app/models/concerns/mobile_workflow/displayable/steps/map.rb,
app/models/concerns/mobile_workflow/displayable/steps/form.rb,
app/models/concerns/mobile_workflow/displayable/steps/list.rb,
app/models/concerns/mobile_workflow/displayable/steps/stack.rb,
app/models/concerns/mobile_workflow/displayable/steps/question.rb,
app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb,
app/models/concerns/mobile_workflow/displayable/steps/styled_content/grid.rb,
app/models/concerns/mobile_workflow/displayable/steps/styled_content/stack.rb

Defined Under Namespace

Modules: Steps

Constant Summary collapse

BUTTON_STYLES =
[:primary, :outline, :danger, :textOnly]
ON_SUCCESS_OPTIONS =
[:none, :reload, :backward, :forward]

Constants included from Steps::Stack

Steps::Stack::CONTENT_MODE_OPTIONS

Constants included from Steps::Question

Steps::Question::QUESTION_STYLES

Class Method Summary collapse

Methods included from Steps::StyledContent::Stack

#mw_stack_button, #mw_stack_list_item, #mw_stack_text, #mw_stack_title

Methods included from Steps::StyledContent::Grid

#mw_grid_item, #mw_grid_large_section, #mw_grid_small_section

Methods included from Steps::Stack

#mw_display_button, #mw_display_delete_button, #mw_display_image, #mw_display_link_button, #mw_display_modal_workflow_button, #mw_display_system_url_button, #mw_display_text, #mw_display_unsplash_image, #mw_display_url_button, #mw_display_video

Methods included from Steps::Question

#mw_text_choice_question

Methods included from Steps::PieChart

#mw_pie_chart_item

Methods included from Steps::Map

#mw_map_item

Methods included from Steps::List

#mw_list_item, #mw_list_search_suggestion

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'app/models/concerns/mobile_workflow/displayable.rb', line 3

def self.included(base)
  base.extend(Steps::Form)
end