aboutsummaryrefslogtreecommitdiff
path: root/files/ja/glossary/property
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/glossary/property
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/glossary/property')
-rw-r--r--files/ja/glossary/property/css/index.html38
-rw-r--r--files/ja/glossary/property/index.html11
-rw-r--r--files/ja/glossary/property/javascript/index.html27
3 files changed, 76 insertions, 0 deletions
diff --git a/files/ja/glossary/property/css/index.html b/files/ja/glossary/property/css/index.html
new file mode 100644
index 0000000000..11b53f5265
--- /dev/null
+++ b/files/ja/glossary/property/css/index.html
@@ -0,0 +1,38 @@
+---
+title: Property (プロパティ) (CSS)
+slug: Glossary/property/CSS
+tags:
+ - CodingScripting
+ - Glossary
+translation_of: Glossary/property/CSS
+---
+<p><strong>CSS のプロパティ</strong>は、関連付けられた値によりブラウザーがどのように要素を表示するかを定義する特性です。</p>
+
+<p>以下に CSS のルールの例を示します:</p>
+
+<pre class="brush: css">/* "div" はドキュメント中の全ての div 要素が */
+/* このルールによってスタイルを整えることを示すセレクタです。*/
+div {
+ /* 値 "black" を持つプロパティ "color" は、*/
+ /* テキストの色が黒くなることを示します。*/
+ color: black;
+
+ /* 値 "white" を持つプロパティ "background-color" は、*/
+ /* 要素の背景色が白くなることを示します。 */
+ background-color: white;
+}</pre>
+
+<h2 id="詳細情報">詳細情報</h2>
+
+<h3 id="General_knowledge" name="General_knowledge">一般知識</h3>
+
+<ul>
+ <li><a href="https://developer.mozilla.org/ja/Learn/CSS">Learn CSS</a></li>
+</ul>
+
+<h3 id="Technical_reference" name="Technical_reference">技術リファレンス</h3>
+
+<ul>
+ <li><a href="/docs/Web/CSS/Reference">MDN 上の CSS リファレンス</a></li>
+ <li><a href="http://www.w3.org/Style/CSS/current-work" rel="external">CSS ワーキンググループの現在の成果</a></li>
+</ul>
diff --git a/files/ja/glossary/property/index.html b/files/ja/glossary/property/index.html
new file mode 100644
index 0000000000..b32b7ec26f
--- /dev/null
+++ b/files/ja/glossary/property/index.html
@@ -0,0 +1,11 @@
+---
+title: Property (プロパティ)
+slug: Glossary/property
+tags:
+ - Disambiguation
+ - Glossary
+translation_of: Glossary/property
+---
+<p><strong>プロパティ</strong>という用語はコンテキストに応じて幾つかの意味を持ちます。以下を参照してください:</p>
+
+<p>{{GlossaryDisambiguation}}</p>
diff --git a/files/ja/glossary/property/javascript/index.html b/files/ja/glossary/property/javascript/index.html
new file mode 100644
index 0000000000..20d306e1ee
--- /dev/null
+++ b/files/ja/glossary/property/javascript/index.html
@@ -0,0 +1,27 @@
+---
+title: Property (プロパティ) (JavaScript)
+slug: Glossary/property/JavaScript
+tags:
+ - CodingScripting
+ - Glossary
+translation_of: Glossary/property/JavaScript
+---
+<p><strong>JavaScript プロパティ</strong>は、多くの場合データ構造と関連付けられた属性を記述する、オブジェクトの特性です。</p>
+
+<p>プロパティは 2 種類あります。</p>
+
+<ul>
+ <li><em>インスタンスプロパティ</em>は、特定のオブジェクトインスタンスに固有のデータを保持します。</li>
+ <li><em>静的プロパティ</em>は、すべてのオブジェクトインスタンス間で共有されるデータを保持します。</li>
+</ul>
+
+<p>プロパティは名前 ( {{glossary("string", "文字列")}}) と値 ({{glossary("primitive","プリミティブ")}}、{{glossary("method","メソッド")}}、{{glossary("object reference","オブジェクト参照")}}) のいずれかを持ちます。「プロパティが値を保持する」というのは、「プロパティがオブジェクト<em>参照</em>を保持している」という意味です。プロパティの値を変更しても、元の参照オブジェクトは変更されないため、この区別は重要です。</p>
+
+<h2 id="Learn_more" name="Learn_more">関連項目</h2>
+
+<h3 id="General_knowledge" name="General_knowledge">一般知識</h3>
+
+<ul>
+ <li>Wikipedia 上の記事「{{InterWiki('wikipedia','プロパティ')}}」</li>
+ <li><a href="https://developer.mozilla.org/ja/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript">オブジェクト志向 JavaScript 入門</a></li>
+</ul>