From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- .../api/bluetooth/onavailabilitychanged/index.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/th/web/api/bluetooth/onavailabilitychanged/index.html (limited to 'files/th/web/api/bluetooth/onavailabilitychanged') 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 +--- +

{{APIRef("Bluetooth API")}}{{securecontext_header}}{{SeeCompatTable}}

+ +

The onavailabilitychanged property of the {{DOMxRef("Bluetooth")}} interface is an {{DOMxRef("EventHandler")}} that processes availabilitychanged events that fire when the Bluetooth system as a whole becomes available or unavailable to the {{Glossary("User Agent")}}.

+ +

Syntax

+ +
Bluetooth.onavailabilitychanged = functionRef;
+
+ +

Value

+ +

functionRef is the handler function to be called when the Bluetooth availabilitychanged event fires.

+ +

Specifications

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName("Web Bluetooth", "#bluetooth", "Bluetooth")}}{{Spec2("Web Bluetooth")}}Initial definition.
+ +

Browser compatibility

+ + + +

{{compat ( "api.Bluetooth.onavailabilitychanged")}}

+ +

ดูสิ่งนี้ด้วย

+ + -- cgit v1.2.3-54-g00ecf