module UiBibz::Helpers::Ui::Core::ListsHelper

Public Instance Methods

ui_list(content = nil, options = nil, html_options = nil, &block) click to toggle source

List Component

options (Hash) html_options (Hash)

# File lib/ui_bibz/helpers/ui/core/lists_helper.rb, line 16
def ui_list(content = nil, options = nil, html_options = nil, &block)
  if tapped?(block)
    UiBibz::Ui::Core::Lists::Components::List.new(content, options, html_options).tap(&block).render
  else
    UiBibz::Ui::Core::Lists::Components::List.new(content, options, html_options, &block).render
  end
end
ui_list_group(content = nil, options = nil, html_options = nil, &block) click to toggle source

List Group Component

options (Hash) html_options (Hash)

# File lib/ui_bibz/helpers/ui/core/lists_helper.rb, line 8
def ui_list_group(content = nil, options = nil, html_options = nil, &block)
  UiBibz::Ui::Core::Lists::ListGroup.new(content, options, html_options).tap(&block).render
end