Sha256: 81f9fc83d00a47c731ab84e6838a1851613371c2222f3caeb19f1a62c8cfabcb
Contents?: true
Size: 725 Bytes
Versions: 42
Compression:
Stored size: 725 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, &block) UiBibz::Ui::Core::Lists::ListGroup.new(content, options, html_options).tap(&block).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
42 entries across 42 versions & 1 rubygems