Sha256: 859d893cd5e8b7e007812d114f76fb3343abbe1e65e458fe13517013c718bb24

Contents?: true

Size: 289 Bytes

Versions: 13

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module NfgUi
  module Components
    module Traits
      # Access to pre-designed Icon traits
      module Icon
        TRAITS = %i[loader].freeze

        def loader_trait
          options[:icon] = 'spinner spin fw'
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
nfg_ui-0.9.17 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.16 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.15 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.14 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.13 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.12 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.11 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.10 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.9 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.8.18 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.8.17 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.8.16 lib/nfg_ui/components/traits/icon.rb
nfg_ui-0.9.8.15 lib/nfg_ui/components/traits/icon.rb