Sha256: 5875067ac633e6ec2ab66ea94832b599183e20c3edab45e0d7de7e8e7064f4bf
Contents?: true
Size: 1.74 KB
Versions: 17
Compression:
Stored size: 1.74 KB
Contents
module UiBibz::Helpers::Ui::Core::BoxesHelper # Card Component # # +options+ (Hash) # +html_options+ (Hash) # # Option +tap: true+ is required if you want add +header+, +block+ or # +footer+. def ui_card content = nil, options = nil, html_options = nil, &block if is_tap(content, options) UiBibz::Ui::Core::Boxes::Card.new(content, options, html_options).tap(&block).render else UiBibz::Ui::Core::Boxes::Card.new(content, options, html_options, &block).render end end # Card Accordion # # +options+ (Hash) # +html_options+ (Hash) # def ui_card_accordion content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Boxes::CardAccordion.new(content, options, html_options).tap(&block).render end # Card Group Component # # +options+ (Hash) # +html_options+ (Hash) def ui_card_group content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Boxes::CardGroup.new(content, options, html_options).tap(&block).render end # Card Deck Component # # +options+ (Hash) # +html_options+ (Hash) def ui_card_deck content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Boxes::CardDeck.new(content, options, html_options).tap(&block).render end # Card Column Component # # +options+ (Hash) # +html_options+ (Hash) def ui_card_column content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Boxes::CardColumn.new(content, options, html_options).tap(&block).render end # Jumbotron Component # # +options+ (Hash) # +html_options+ (Hash) def ui_jumbotron content = nil, options = nil, html_options = nil, &block UiBibz::Ui::Core::Boxes::Jumbotron.new(content, options, html_options, &block).render end end
Version data entries
17 entries across 17 versions & 1 rubygems