Sha256: 243e055b5f31ee3b4309bae422fc7b99e2dd5b8fab8843148c07a36a51d7dfd6

Contents?: true

Size: 436 Bytes

Versions: 9

Compression:

Stored size: 436 Bytes

Contents

module Druid
  module Elements
    class Button < Element

      def self.finders
        super + [:value, :text, :src, :alt, :css]
      end

    end

    Druid::Elements.type_to_class[:submit] = Druid::Elements::Button
    Druid::Elements.type_to_class[:image] = Druid::Elements::Button
    Druid::Elements.type_to_class[:button] = Druid::Elements::Button
    Druid::Elements.type_to_class[:reset] = Druid::Elements::Button
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
druid-ts-1.2.2 lib/druid/elements/button.rb
druid-ts-1.2.1 lib/druid/elements/button.rb
druid-ts-1.2.0 lib/druid/elements/button.rb
druid-ts-1.1.8 lib/druid/elements/button.rb
druid-ts-1.1.7 lib/druid/elements/button.rb
druid-ts-1.1.6 lib/druid/elements/button.rb
druid-ts-1.1.5 lib/druid/elements/button.rb
druid-ts-1.1.4 lib/druid/elements/button.rb
druid-ts-1.1.3 lib/druid/elements/button.rb