Sha256: 02002e8197f3b94c3a164742e9232024172820fc4b540580d1f050d8ab08d168

Contents?: true

Size: 285 Bytes

Versions: 130

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module NfgUi
  module Components
    module Traits
      # Access to pre-designed Alert traits
      module PageHeader
        TRAITS = %i[sticky].freeze

        def sticky_trait
          options[:sticky] = true
        end
      end
    end
  end
end

Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
nfg_ui-0.10.15 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.14 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.13 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.12 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.11 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.10 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.9 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.8.2 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.8.1 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.7 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.6 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.5 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.4.1 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.4 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.3 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.2 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10.1 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.10 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.9.28 lib/nfg_ui/components/traits/page_header.rb
nfg_ui-0.9.27 lib/nfg_ui/components/traits/page_header.rb