Sha256: a80cc30ad17cb502ad5b5b10ad81201d272d96637074a37fbf7538e7399c71f3
Contents?: true
Size: 715 Bytes
Versions: 13
Compression:
Stored size: 715 Bytes
Contents
# frozen_string_literal: true module UiBibz::Helpers::Ui::Core::ListsHelper # List Group Component # # +options+ (Hash) # +html_options+ (Hash) def ui_list_group(content = nil, options = nil, html_options = nil, &) UiBibz::Ui::Core::Lists::ListGroup.new(content, options, html_options).tap(&).render end # List Component # # +options+ (Hash) # +html_options+ (Hash) 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 end
Version data entries
13 entries across 13 versions & 1 rubygems