aboutsummaryrefslogtreecommitdiff
path: root/files/ja/tools/web_console/rich_output
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/tools/web_console/rich_output
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/tools/web_console/rich_output')
-rw-r--r--files/ja/tools/web_console/rich_output/index.html75
1 files changed, 75 insertions, 0 deletions
diff --git a/files/ja/tools/web_console/rich_output/index.html b/files/ja/tools/web_console/rich_output/index.html
new file mode 100644
index 0000000000..385586dd91
--- /dev/null
+++ b/files/ja/tools/web_console/rich_output/index.html
@@ -0,0 +1,75 @@
+---
+title: 高度な出力
+slug: Tools/Web_Console/Rich_output
+translation_of: Tools/Web_Console/Rich_output
+---
+<div>{{ToolsSidebar}}</div><p>ウェブコンソールでオブジェクトを出力する際は、オブジェクト名だけでなく、より高度な情報も表示します。特に、以下のような情報です:</p>
+
+<ul>
+ <li><a href="/ja/docs/Tools/Web_Console/Rich_output#Type-specific_rich_output">特定の型について追加情報を提供</a></li>
+ <li><a href="/ja/docs/Tools/Web_Console/Rich_output#Examining_object_properties">オブジェクトのプロパティを詳しく調査</a></li>
+ <li><a href="/ja/docs/Tools/Web_Console/Rich_output#Highlighting_and_inspecting_DOM_nodes">DOM 要素の詳細情報を提供、およびインスペクターで要素の選択が可能</a></li>
+</ul>
+
+<h2 id="Type-specific_rich_output" name="Type-specific_rich_output">型に固有の高度な出力</h2>
+
+<p>ウェブコンソールでは以下のように、さまざまなオブジェクト型について高度な情報を提供します:</p>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <td><code>Object</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9597/web-console-object.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Array</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9589/web-console-array.png" style="display: block; height: 38px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Date</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9591/web-console-date.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Promise</code></td>
+ <td>
+ <div class="geckoVersionNote">
+ <p>Firefox 36 の新機能</p>
+ </div>
+
+ <p><img alt="" src="https://mdn.mozillademos.org/files/9599/web-console-promise.png" style="display: block; height: 76px; margin-left: auto; margin-right: auto; width: 600px;"></p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>RegExp</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9601/web-console-regexp.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Window</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9603/web-console-window.png" style="display: block; height: 38px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Document</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9593/web-console-document.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Element</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/9595/web-console-element.png" style="display: block; height: 39px; margin-left: auto; margin-right: auto; width: 600px;"></td>
+ </tr>
+ <tr>
+ <td><code>Event</code></td>
+ <td><img alt="" src="https://mdn.mozillademos.org/files/14434/webconsole-events.png" style="height: 51px; width: 600px;"></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Examining_object_properties" name="Examining_object_properties">オブジェクトのプロパティを調査</h2>
+
+<p>オブジェクトをコンソールに出力すると、斜体で表示します。それをクリックすると、オブジェクトの詳細情報を表示している新たなパネルが現れます:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/7381/commandline-inspecting.png" style="display: block; margin-left: auto; margin-right: auto;"><kbd>Esc</kbd> を押下すると、このパネルを閉じます。</p>
+
+<h2 id="Highlighting_and_inspecting_DOM_nodes" name="Highlighting_and_inspecting_DOM_nodes">DOM ノードのハイライト表示と調査</h2>
+
+<p>コンソールに出力された DOM 要素にマウスポインターを乗せると、そのノードをページ上でハイライト表示します:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/7379/commandline-highlightnode.png" style="display: block; margin-left: auto; margin-right: auto;">上のスクリーンショットでは、コンソールの出力領域でノードの隣に "標的" のアイコンがあります。このアイコンをクリックすると、そのノードを選択した <a href="/ja/docs/Tools/Page_Inspector">インスペクター</a> に切り替わります。</p>