Module: NfgUi::Components::Traits::ProgressBar
- Included in:
- Elements::ProgressBar, Patterns::Progress
- Defined in:
- lib/nfg_ui/components/traits/progress_bar.rb
Overview
Shared Size traits
Constant Summary collapse
- TRAITS =
%i[striped animated label].freeze
Instance Method Summary collapse
Instance Method Details
#animated_trait ⇒ Object
14 15 16 |
# File 'lib/nfg_ui/components/traits/progress_bar.rb', line 14 def animated_trait [:animated] = true end |
#label_trait ⇒ Object
18 19 20 |
# File 'lib/nfg_ui/components/traits/progress_bar.rb', line 18 def label_trait [:label] = true end |
#striped_trait ⇒ Object
10 11 12 |
# File 'lib/nfg_ui/components/traits/progress_bar.rb', line 10 def striped_trait [:striped] = true end |