module NfgUi::Components::Traits::Alignment

Access to pre-designed Card traits

Constants

TRAITS

Public Instance Methods

center_trait() click to toggle source
# File lib/nfg_ui/components/traits/alignment.rb, line 20
def center_trait
  options[:center] = true
end
left_trait() click to toggle source
# File lib/nfg_ui/components/traits/alignment.rb, line 16
def left_trait
  options[:right] = true
end
right_trait() click to toggle source
# File lib/nfg_ui/components/traits/alignment.rb, line 12
def right_trait
  options[:right] = true
end