Sha256: f0f5e44c7f5cc3931d3bc1263a4ae0c5fd287931a3fa391bcf58773d44598885
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true require 'railsstrap/classes/base' module Railsstrap module Classes class CardGroup < Base def layout CardGroup.column_types[@options[:layout]] end # @return [#to_s] the grid-related class to assign to each card # nested in this card group. def self.column_types HashWithIndifferentAccess.new('card-group').tap do |klass| klass[:deck] = :'card-deck' klass[:group] = :'card-group' klass[:column] = :'card-column' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
railsstrap-4.0.0.beta3 | lib/railsstrap/classes/card_group.rb |