Sha256: ab37639319e8d49af311dd62427b9164982bf9bc57458e6098628a035ce7e4cf

Contents?: true

Size: 390 Bytes

Versions: 383

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbDropdown
    class DropdownContainer < Playbook::KitBase
      def classname
        generate_classname("pb_dropdown_container", "close", separator: " ")
      end

      def container_style
        "position: absolute"
      end

      def data
        Hash(prop(:data)).merge(dropdown_container: true)
      end
    end
  end
end

Version data entries

383 entries across 383 versions & 1 rubygems

Version Path
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_dropdown/dropdown_container.rb
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_dropdown/dropdown_container.rb
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_dropdown/dropdown_container.rb