るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.041秒)
トップページ > バージョン:2.3.0[x] > クエリ:io[x] > クエリ:attribute[x] > クエリ:image_button[x]

別のキーワード

  1. attribute new
  2. attribute value
  3. rexml/document attribute
  4. element add_attribute
  5. rexml/document add_attribute

ライブラリ

モジュール

検索結果

CGI::HtmlExtension#image_button(attributes) -> String (63631.0)

タイプが image の input 要素を生成します。

タイプが image の input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">