A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/RemotePlayback/connect_event below:

RemotePlayback: connect event - Web APIs

RemotePlayback: connect event

Limited availability

The connect event of the RemotePlayback interface fires when the user agent connects to the remote device.

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

addEventListener("connect", (event) => { })

onconnect = (event) => { }
Event type

A generic Event.

Example

In the following example the value of RemotePlayback.state is printed to the console when the user agent successfully connects.

RemotePlayback.onconnect = () => {
  console.log(RemotePlayback.state);
};
Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4