diff options
Diffstat (limited to 'files/ja/web/api/fmradio/enabled/index.html')
-rw-r--r-- | files/ja/web/api/fmradio/enabled/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/files/ja/web/api/fmradio/enabled/index.html b/files/ja/web/api/fmradio/enabled/index.html deleted file mode 100644 index c45a6568a9..0000000000 --- a/files/ja/web/api/fmradio/enabled/index.html +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: FMRadio.enabled -slug: Web/API/FMRadio/enabled -tags: - - API - - B2G - - Firefox OS - - Non Standard - - Property - - Reference - - WebAPI - - WebFM -translation_of: Archive/B2G_OS/API/FMRadio/enabled ---- -<div class="syntaxbox"> - {{ non-standard_header() }}</div> -<p>{{ B2GOnlyHeader2('installed') }}</p> -<h2 id="概要">概要</h2> -<p><code>enabled</code> プロパティの値は、ラジオが再生中 (<code>true</code>) か、そうでない (<code>false</code>) かを示します。</p> -<h2 id="構文">構文</h2> -<pre class="syntaxbox">var playing = <em>instanceOfFMRadio</em>.enabled</pre> -<h2 id="値">値</h2> -<p>真偽値を返します。</p> -<h2 id="例">例</h2> -<pre class="brush: js">window.addEventListener('enabled', function () { - if (navigator.mozFMRadio.enabled) { - console.log("ラジオは再生中です"); - } else { - console.log("ラジオは OFF です"); - } -}); -</pre> -<h2 id="Specification" name="Specification">仕様書</h2> -<p>仕様はありません。</p> -<h2 id="参照">参照</h2> -<ul> - <li>{{domxref("FMRadio")}}</li> - <li>{{domxref("FMRadio.enable()")}}</li> - <li>{{domxref("FMRadio.onenabled")}}</li> - <li>{{event("enabled")}} イベント</li> -</ul> |