Sha256: e3dcae5f34ae17050f837090606ceed3d2642640cef2361292bcc2267f224571

Contents?: true

Size: 428 Bytes

Versions: 8

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbMultiLevelSelect
    class MultiLevelSelect < Playbook::KitBase
      prop :tree_data, type: Playbook::Props::Array,
                       default: []

      def classname
        generate_classname("pb_multi_level_select")
      end

      def multi_level_select_options
        {
          id: id,
          treeData: tree_data,
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.1 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb
playbook_ui-12.7.0 app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb