Module | Markaby |
In: |
lib/markaby.rb
lib/markaby/builder.rb lib/markaby/builder_tags.rb lib/markaby/cssproxy.rb lib/markaby/tags.rb lib/markaby/rails.rb |
Markaby is a module containing all of the great Markaby classes that do such an excellent job.
MAJOR | = | 0 | ||
MINOR | = | 9 | ||
TINY | = | 0 | ||
VERSION | = | "#{MAJOR}.#{MINOR}.#{TINY}" | ||
RUBY_VERSION_ID | = | RUBY_VERSION.split(".").join.to_i | ||
FORM_TAGS | = | [ :form, :input, :select, :textarea ] | ||
SELF_CLOSING_TAGS | = | [:area, :base, :br, :col, :command, :embed, :frame, :hr, :img, :input, :keygen, :link, :meta, :param, :source, :track, :wbr] | ||
AttrCore | = | [:id, :class, :style, :title] | Common sets of attributes. | |
AttrI18n | = | [:lang, 'xml:lang'.intern, :dir] | ||
AttrEvents | = | [:onclick, :ondblclick, :onmousedown, :onmouseup, :onmouseover, :onmousemove, :onmouseout, :onkeypress, :onkeydown, :onkeyup] | ||
AttrFocus | = | [:accesskey, :tabindex, :onfocus, :onblur] | ||
AttrHAlign | = | [:align, :char, :charoff] | ||
AttrVAlign | = | [:valign] | ||
Attrs | = | AttrCore + AttrI18n + AttrEvents | ||
AttrsBoolean | = | [ :checked, :disabled, :multiple, :readonly, :selected, # standard forms :autofocus, :required, :novalidate, :formnovalidate, # HTML5 forms :defer, :ismap, # <script defer>, <img ismap> :compact, :declare, :noresize, :noshade, :nowrap |