Sha256: 809916b75991c52babdacd7fdbe39a17f3cc3c9e35321b7bfd6cd362961935a3

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

module Uia
  module Patterns
    module Selection
      def selection_items
        select(pattern: :selection_item).map {|e| e.as :selection_item }
      end

      def multi_select?
        Library.selection_info(@element).multi_select?
      end

      def selection_required?
        Library.selection_info(@element).selection_required?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uia-0.0.7.3 lib/uia/patterns/selection.rb
uia-0.0.7.2 lib/uia/patterns/selection.rb
uia-0.0.7.1 lib/uia/patterns/selection.rb