Sha256: 441123fa658fbd3445045dc10dadb8e44ad3d3f23ab88d6a9f10a5c7e9c05818

Contents?: true

Size: 305 Bytes

Versions: 130

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module NfgUi
  module Components
    module Traits
      # Access to pre-designed Alert traits
      module Dismiss
        TRAITS = %i[dismissible].freeze
        
        def dismissible_trait
          options[:dismissible] = true
        end
      end
    end
  end
end

Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
nfg_ui-0.9.26 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.25.1 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.25 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.24.3 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.24.2 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.24.1 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.24 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.23 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.22 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.21 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.20 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.19.1 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.19 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.18.3 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.18.2 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.18.1 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.18 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.17 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.16 lib/nfg_ui/components/traits/dismiss.rb
nfg_ui-0.9.15 lib/nfg_ui/components/traits/dismiss.rb