aboutsummaryrefslogtreecommitdiff
path: root/files/th/web/api/bluetooth/onavailabilitychanged/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/th/web/api/bluetooth/onavailabilitychanged/index.html')
-rw-r--r--files/th/web/api/bluetooth/onavailabilitychanged/index.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/files/th/web/api/bluetooth/onavailabilitychanged/index.html b/files/th/web/api/bluetooth/onavailabilitychanged/index.html
new file mode 100644
index 0000000000..74e6881ee0
--- /dev/null
+++ b/files/th/web/api/bluetooth/onavailabilitychanged/index.html
@@ -0,0 +1,46 @@
+---
+title: Bluetooth.onavailabilitychanged
+slug: Web/API/Bluetooth/onavailabilitychanged
+translation_of: Web/API/Bluetooth/onavailabilitychanged
+---
+<p>{{APIRef("Bluetooth API")}}{{securecontext_header}}{{SeeCompatTable}}</p>
+
+<p><span class="seoSummary">The <strong><code>onavailabilitychanged</code></strong> property of the {{DOMxRef("Bluetooth")}} interface is an {{DOMxRef("EventHandler")}} that processes <code>availabilitychanged</code> events that fire when the Bluetooth system as a whole becomes available or unavailable to the {{Glossary("User Agent")}}.</span></p>
+
+<h2 id="Syntax">Syntax</h2>
+
+<pre class="syntaxbox"><em>Bluetooth</em>.onavailabilitychanged = <em>functionRef</em>;
+</pre>
+
+<h3 id="Value">Value</h3>
+
+<p><code>functionRef</code> is the handler function to be called when the Bluetooth <code>availabilitychanged</code> event fires.</p>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ <tr>
+ <td>{{SpecName("Web Bluetooth", "#bluetooth", "Bluetooth")}}</td>
+ <td>{{Spec2("Web Bluetooth")}}</td>
+ <td>Initial definition.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<div class="hidden"><font><font>ตารางความเข้ากันได้ในหน้านี้สร้างขึ้นจากข้อมูลที่มีโครงสร้าง </font><font>หากคุณต้องการมีส่วนร่วมกับข้อมูลโปรดตรวจสอบ</font></font><a href="https://github.com/mdn/browser-compat-data"><font><font>https://github.com/mdn/browser-compat-data</font></font></a><font><font>และส่งคำขอดึง</font></font></div>
+
+<p><font><font>{{compat ( "api.Bluetooth.onavailabilitychanged")}}</font></font></p>
+
+<h2 id="ดูสิ่งนี้ด้วย"><font><font>ดูสิ่งนี้ด้วย</font></font></h2>
+
+<ul>
+ <li><font><font>{{DOMxRef ( "Bluetooth.getAvailability")}}</font></font></li>
+</ul>