diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-10-20 00:16:38 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-06 22:18:30 +0900 |
commit | 3da96df7e2f6144ee6106f381af4dc9f71aa2cb1 (patch) | |
tree | 32300dc1791bb9195df0ee550a829b4e475f1426 /files/ja/web/svg/attribute/events | |
parent | c2d1b8b56c5a9f45f5ea9f5471c87d1b904f9087 (diff) | |
download | translated-content-3da96df7e2f6144ee6106f381af4dc9f71aa2cb1.tar.gz translated-content-3da96df7e2f6144ee6106f381af4dc9f71aa2cb1.tar.bz2 translated-content-3da96df7e2f6144ee6106f381af4dc9f71aa2cb1.zip |
SVG 属性の説明の一部を新規翻訳
- 2021/10/19 時点の英語版に基づき新規翻訳
Diffstat (limited to 'files/ja/web/svg/attribute/events')
-rw-r--r-- | files/ja/web/svg/attribute/events/index.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/files/ja/web/svg/attribute/events/index.md b/files/ja/web/svg/attribute/events/index.md new file mode 100644 index 0000000000..eda59bc064 --- /dev/null +++ b/files/ja/web/svg/attribute/events/index.md @@ -0,0 +1,46 @@ +--- +title: SVG イベント属性 +slug: Web/SVG/Attribute/Events +tags: + - 上級者 + - 属性 + - 草稿 + - Landing + - NeedsUpdate + - SVG +browser-compat: svg.attributes.events.global +translation_of: Web/SVG/Attribute/Events +--- +イベント属性は、常に "on" で始まる名前を持ち、その後に目的とするイベントの名前が続きます。これらの属性は、属性が指定された要素に与えられた種類のイベントが発行されたときに実行される何らかのスクリプトを指定します。 + +ブラウザーが対応するすべての種類のイベントについて、SVG は HTML イベント属性と同じ要件に従い、イベント属性として対応しています。 + +グローバルイベント属性は*すべての SVG 要素*で使用可能です。その他のイベント属性の使用可否は要素によります。 + +イベント属性はすべて、*アニメーション不可*です。 + +## 属性 + +### アニメーションイベント属性 + +**`onbegin`**, **`onend`**, **`onrepeat`** + +### 文書イベント属性 + +**`onabort`**, **`onerror`**, **`onresize`**, **`onscroll`**, **`onunload`** + +### 文書要素イベント属性 + +**`oncopy`**, **`oncut`**, **`onpaste`** + +### グローバルイベント属性 + +**`oncancel`**, **`oncanplay`**, **`oncanplaythrough`**, **`onchange`**, **`onclick`**, **`onclose`**, **`oncuechange`**, **`ondblclick`**, **`ondrag`**, **`ondragend`**, **`ondragenter`**, **`ondragleave`**, **`ondragover`**, **`ondragstart`**, **`ondrop`**, **`ondurationchange`**, **`onemptied`**, **`onended`**, **`onerror`**, **`onfocus`**, **`oninput`**, **`oninvalid`**, **`onkeydown`**, **`onkeypress`**, **`onkeyup`**, **`onload`**, **`onloadeddata`**, **`onloadedmetadata`**, **`onloadstart`**, **`onmousedown`**, **`onmouseenter`**, **`onmouseleave`**, **`onmousemove`**, **`onmouseout`**, **`onmouseover`**, **`onmouseup`**, **`onmousewheel`**, **`onpause`**, **`onplay`**, **`onplaying`**, **`onprogress`**, **`onratechange`**, **`onreset`**, **`onresize`**, **`onscroll`**, **`onseeked`**, **`onseeking`**, **`onselect`**, **`onshow`**, **`onstalled`**, **`onsubmit`**, **`onsuspend`**, **`ontimeupdate`**, **`ontoggle`**, **`onvolumechange`**, **`onwaiting`** + +### グラフィックイベント属性 + +**`onactivate`**, **`onfocusin`**, **`onfocusout`** + +## ブラウザーの互換性 + +{{Compat}} |