Sha256: befc41c002cbaa44b82b41ec7088e33505edcf0a65d112f256162bc7058b2555

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

module Druid
  module Elements
    class Button < Element

      def self.finders
        super + [:value, :text, :src, :alt]
      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

3 entries across 3 versions & 1 rubygems

Version Path
druid-ts-1.1.2 lib/druid/elements/button.rb
druid-ts-1.1.1 lib/druid/elements/button.rb
druid-ts-1.1.0 lib/druid/elements/button.rb