Module: NfgUi::Components::Traits::Table
- Included in:
- Elements::Table
- Defined in:
- lib/nfg_ui/components/traits/table.rb
Constant Summary collapse
- TRAITS =
%i[striped bordered].freeze
Instance Method Summary collapse
Instance Method Details
#bordered_trait ⇒ Object
13 14 15 |
# File 'lib/nfg_ui/components/traits/table.rb', line 13 def bordered_trait [:bordered] = true end |
#striped_trait ⇒ Object
9 10 11 |
# File 'lib/nfg_ui/components/traits/table.rb', line 9 def striped_trait [:striped] = true end |