Created
October 30, 2009 18:05
-
-
Save jarib/222592 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Radio < Element | |
identifier :tag_name => 'input', :type => 'radio' | |
method_name :radio | |
collection_method_name :radios | |
# core | |
attributes :class, :id, :style, :title, | |
# i18n | |
:dir, :lang, | |
# events | |
:onclick, :ondblclick, :onmousedown, :onmouseup, :onmouseover, | |
:onmousemove, :onmouseout, :onkeypress, :onkeydown, :onkeyup, | |
:onselect, :onchange, | |
# others | |
:type, :name, :value, :checked, :disabled, :readonly, :size, :maxlength, | |
:src, :alt, :usemap, :ismap, :tabindex, :accesskey, :onfocus, :onblur, | |
:accept, :align | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment