A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/ja/docs/Web/API/HTMLTextAreaElement/wrap below:

HTMLTextAreaElement: wrap プãƒãƒ‘ティ - Web API

HTMLTextAreaElement: wrap プロパティ

Baseline Widely available

wrap は HTMLTextAreaElement インターフェイスのプロパティで、コントロールがフォーム送信用の値をどのように折り返し表示するかを示します。これは <textarea> 要素の wrap 属性を反映しています。 "hard" 値は、 cols 属性も設定されている場合にのみ効果があることに注意してください。

値

利用可能な値は wrap を参照してください。既定値は "soft" です。

例
const textareaElement = document.getElementById("comment");
const oldWrap = textArea.wrap;
textArea.wrap = "hard"; // フォーム送信で (CR+LF) を追加
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4