file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
api/cssmathnegate/cssmathnegate/index.md | API - CSSMathNegate - Syntax - Parameters:
- `arg`: A `CSSNumericValue`. | [
0.40255892276763916,
0.29593920707702637,
-0.39586594700813293,
-0.31942659616470337,
-0.16193246841430664,
-2.5559608936309814,
0.4581663906574249,
0.3837364912033081,
-0.09901948273181915,
0.23863986134529114,
-0.012670986354351044,
0.14103025197982788,
0.4190605878829956,
0.154266700148... |
api/cssmathnegate/cssmathnegate/index.md | API - CSSMathNegate - Examples:
To do | [
-0.3359042704105377,
0.46019211411476135,
-0.29457366466522217,
0.1758423149585724,
0.2378472089767456,
-0.7489559054374695,
0.5312705039978027,
0.5581316351890564,
-0.33391064405441284,
0.5456820726394653,
0.42900487780570984,
0.7062064409255981,
0.20081640779972076,
-0.5292035341262817,
... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static:
The static method `RTCRtpSender.getCapabilities()` returns an object describing the codec and header extension capabilities supported by the `RTCRtpSender`.
You can, similarly, obtain the capabilities of `RTCRtpReceiver` objects on the device by calling the static function... | [
-0.9824166297912598,
-0.4035692512989044,
-0.7678347229957581,
0.4605032801628113,
0.1339367926120758,
-1.20979642868042,
0.4797258973121643,
0.7973647117614746,
0.02462334930896759,
0.1528974324464798,
-1.358709692955017,
-0.017944466322660446,
-0.10090288519859314,
0.11931978166103363,
... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Syntax:
Example:
RTCRtpSender.getCapabilities(kind) | [
-0.7747538685798645,
0.43699148297309875,
0.33214133977890015,
0.2991645336151123,
-0.5391415357589722,
-0.8135223984718323,
0.5011613965034485,
0.21537449955940247,
-0.3115576207637787,
-0.0493742898106575,
-0.5758900046348572,
0.32518717646598816,
-0.6319139003753662,
0.08356353640556335... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Syntax - Parameters:
- `kind`: A string indicating the type of media for which the browser's send capabilities are requested. The supported media kinds are: `audio` and `video`. | [
-1.392505407333374,
0.05546595901250839,
0.06253255158662796,
0.804325520992279,
0.11686447262763977,
-0.692844808101654,
0.7097168564796448,
0.8750469088554382,
-0.7575979828834534,
0.012699484825134277,
-0.649769127368927,
-0.11427785456180573,
-0.016888327896595,
0.19851195812225342,
... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Syntax - Return value:
A new object that indicates what capabilities the browser has for sending the specified media kind over an `RTCPeerConnection`. If the browser doesn't have any support for the given media `kind`, the returned value is `null`.
The returned object has... | [
-0.1643698513507843,
-0.5008853673934937,
-0.056666433811187744,
0.7749384045600891,
0.13781607151031494,
-0.49836865067481995,
0.5322679877281189,
0.27171817421913147,
0.3181147277355194,
-0.014042166993021965,
-1.1657737493515015,
0.22100305557250977,
-0.06017627939581871,
-0.27716612815... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Description:
As a static function, this is always called using the form:
Example:
capabilities = RTCRtpSender.getCapabilities("audio");
The returned set of capabilities is the most optimistic possible list. It is entirely possible that certain combinations of options ma... | [
-0.2693824768066406,
-0.11832219362258911,
-0.27086907625198364,
0.8143513202667236,
0.5676804184913635,
-0.6042850613594055,
0.6084088087081909,
1.4153143167495728,
-0.3001773953437805,
0.47074970602989197,
-0.18415333330631256,
0.6391729116439819,
-0.14964568614959717,
0.0739641934633255... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Description - The codecs array:
The `codecs` array is an array of objects that describes a single codec and its basic capabilities. The browser will only report distinct capability combinations separately. If two sets of capabilities can be described as one, they will be. ... | [
-0.34611234068870544,
-0.9487115740776062,
-0.3404361307621002,
1.0755867958068848,
0.49367523193359375,
0.09463850408792496,
0.4018748998641968,
1.53645920753479,
-0.5929757356643677,
0.318354070186615,
-0.5386964678764343,
0.08992770314216614,
0.83489590883255,
0.025488391518592834,
0.... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Examples - Feature support:
You can use `Object.hasOwn()` to check that `RTCRtpSender.getCapabilities()` is supported:
Example:
<p id="log"></p>
Example:
const log = document.querySelector("#log");
Example:
log.textContent = `RTCRtpSender.getCapabilities() supported:... | [
-0.579825222492218,
-0.1772335320711136,
-0.04805902764201164,
0.21526950597763062,
0.13248556852340698,
-1.1725852489471436,
-0.39290758967399597,
0.7147266864776611,
0.45331311225891113,
-0.4523414373397827,
-1.0570321083068848,
-0.005772951990365982,
-0.07260750234127045,
-0.23601481318... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Examples - Checking support for a particular codec:
The function below returns a `true` or `false` indicating whether or not the device supports sending H.264 video on an `RTCRtpSender`.
Note: Since `RTCRtpSender.getCapabilities()` actually only indicates probable support... | [
-0.6566184759140015,
-0.5456595420837402,
-0.23845334351062775,
0.4610803723335266,
0.29834461212158203,
-0.955588161945343,
0.5681490898132324,
0.7547706365585327,
-0.4125351309776306,
-0.3123815953731537,
-0.8827711343765259,
-0.06167445704340935,
0.07345513254404068,
0.07915003597736359... |
api/rtcrtpsender/getcapabilities_static/index.md | API - RTCRtpSender - getCapabilities static - Examples - Getting all capabilities:
This code example shows how we might get all supported codecs and headers. The HTML defines a selection list for the two kinds of capabilities, and a log area.
Example:
<select id="kind">
<option value="audio">audio</option>
<opti... | [
0.09783300012350082,
-0.24714399874210358,
-0.206068754196167,
0.6373739242553711,
0.1726401150226593,
-0.9868491291999817,
0.4125339388847351,
0.8627375364303589,
-0.28282666206359863,
0.23000015318393707,
-0.8079317212104797,
-0.16532644629478455,
-0.3964747488498688,
-0.3543787300586700... |
api/rtcicecandidate/candidate/index.md | API - RTCIceCandidate - candidate:
The read-only property `candidate` on the `RTCIceCandidate` interface returns a string describing the candidate in detail. Most of the other properties of `RTCIceCandidate` are actually extracted from this string.
This property can be configured using the `candidate` property of the... | [
-0.5647489428520203,
-0.2786372900009155,
0.14628440141677856,
0.6598744988441467,
0.40509483218193054,
-1.5074543952941895,
0.26419538259506226,
0.2671850323677063,
0.4787514805793762,
-0.008904274553060532,
-0.6009478569030762,
-0.4047882854938507,
0.41827893257141113,
0.3021226823329925... |
api/rtcicecandidate/candidate/index.md | API - RTCIceCandidate - candidate - Value:
A string describing the properties of the candidate, taken directly from the `SDP` attribute `"candidate"`. The candidate string specifies the network connectivity information for the candidate. If the `candidate` is an empty string (`""`), the end of the candidate list has b... | [
-0.22579656541347504,
-0.1498880535364151,
0.2048095464706421,
0.19043545424938202,
0.7660850882530212,
-1.2698765993118286,
1.093382716178894,
0.7896570563316345,
-0.51251220703125,
0.05755001679062843,
-0.09631817042827606,
0.29110074043273926,
0.40432843565940857,
0.23742035031318665,
... |
api/rtcicecandidate/candidate/index.md | API - RTCIceCandidate - candidate - Examples:
In this example, we see a function which receives as input an SDP string containing an ICE candidate received from the remote peer during the signaling process.
Example:
function handleNewIceCandidate(candidateSDP) {
const candidateObj = new RTCIceCandidate(candidateSD... | [
0.16383062303066254,
-0.419916033744812,
-0.24158422648906708,
0.998442530632019,
0.3371456563472748,
-1.3526277542114258,
0.6949507594108582,
0.08980575203895569,
0.2879590392112732,
0.2847486734390259,
-0.2986625134944916,
0.10898272693157196,
0.39317643642425537,
0.5035213828086853,
0... |
api/publickeycredential/index.md | API - PublicKeyCredential:
Secure context: This feature is available only in secure contexts (HTTPS).
The `PublicKeyCredential` interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair in... | [
-0.13534267246723175,
0.18016330897808075,
-0.40805864334106445,
0.024481400847434998,
0.5532777905464172,
-1.0423758029937744,
0.8629733324050903,
0.37459179759025574,
0.5746094584465027,
0.1230936273932457,
0.079591765999794,
0.554405689239502,
0.49362802505493164,
-0.23307539522647858,
... |
api/publickeycredential/index.md | API - PublicKeyCredential - Instance properties:
- `PublicKeyCredential.authenticatorAttachment` (read only): A string that indicates the mechanism by which the WebAuthn implementation is attached to the authenticator at the time the associated `navigator.credentials.create()` or `navigator.credentials.get()` call com... | [
-0.4022321105003357,
-0.37302297353744507,
0.04796233028173447,
0.09738275408744812,
0.22196069359779358,
-0.4544295370578766,
1.213343858718872,
0.2281118631362915,
-0.21762238442897797,
0.5827479362487793,
-0.4119854271411896,
0.6617109775543213,
-0.24952411651611328,
0.00038487091660499... |
api/publickeycredential/index.md | API - PublicKeyCredential - Static methods:
- `PublicKeyCredential.getClientCapabilities()`: Returns a `Promise` that resolves with an object that can be used to check whether or not particular WebAuthn capabilities and extensions are supported.
- `PublicKeyCredential.isConditionalMediationAvailable()`: Returns a `Pro... | [
0.2484097182750702,
-0.3335418701171875,
-0.27371296286582947,
0.0557437464594841,
0.47408419847488403,
-0.8405627012252808,
1.2787777185440063,
1.4712868928909302,
0.10698270797729492,
0.5698375105857849,
0.22204431891441345,
0.9091103076934814,
0.23344892263412476,
0.08102227747440338,
... |
api/publickeycredential/index.md | API - PublicKeyCredential - Instance methods:
- `PublicKeyCredential.getClientExtensionResults()`: If any extensions were requested, this method will return the results of processing those extensions.
- `PublicKeyCredential.toJSON()`: Convenience method for creating a JSON string representation of a `PublicKeyCredenti... | [
-0.43569791316986084,
-0.7224465012550354,
-0.8319840431213379,
0.11804324388504028,
0.16795039176940918,
-1.1246063709259033,
1.2986831665039062,
0.9622241854667664,
0.37671959400177,
-0.0142708420753479,
-0.33274412155151367,
1.2927768230438232,
0.9399802684783936,
0.005873575806617737,
... |
api/publickeycredential/index.md | API - PublicKeyCredential - Examples - Creating a new instance of PublicKeyCredential:
Here, we use `navigator.credentials.create()` to generate a new credential.
Example:
const createCredentialOptions = {
publicKey: {
challenge: new Uint8Array([
21, 31, 105 /* 29 more random bytes generated by the serve... | [
-0.12324105948209763,
-0.7086808085441589,
-0.24990560114383698,
0.5449361205101013,
0.39894863963127136,
-1.0369126796722412,
0.5978571772575378,
0.10181392729282379,
0.31850501894950867,
0.4720402657985687,
-0.06080799549818039,
0.3916218876838684,
0.727895200252533,
-0.23338337242603302... |
api/publickeycredential/index.md | API - PublicKeyCredential - Examples - Getting an existing instance of PublicKeyCredential:
Here, we fetch an existing credential from an authenticator, using `navigator.credentials.get()`.
Example:
const requestCredentialOptions = {
publicKey: {
challenge: new Uint8Array([/* bytes sent from the server */]),
... | [
-0.2656821310520172,
-0.4216825067996979,
-0.7577300667762756,
-0.038617029786109924,
-0.08937013894319534,
-1.4646883010864258,
1.022159457206726,
0.21857014298439026,
0.2854517102241516,
-0.2106892317533493,
-0.1956644058227539,
0.6066398024559021,
0.6542729735374451,
0.06969338655471802... |
api/mediarecorder/error_event/index.md | API - MediaRecorder - error event:
The `error` event of the `MediaRecorder` interface is fired when an error occurs: for example because recording wasn't allowed or was attempted using an unsupported codec.
This event is not cancelable and does not bubble. | [
0.3163816034793854,
-0.28831493854522705,
-0.5403546690940857,
0.5400048494338989,
0.2845677137374878,
-1.1378482580184937,
0.20061032474040985,
0.9240590333938599,
0.0901140570640564,
-0.14090695977210999,
-0.2628796696662903,
-0.2881016135215759,
0.32991185784339905,
0.1347486972808838,
... |
api/mediarecorder/error_event/index.md | API - MediaRecorder - error event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("error", (event) => { })
onerror = (event) => { } | [
0.7780709862709045,
-0.7141495943069458,
-0.60316401720047,
0.36129167675971985,
0.1261865198612213,
-0.9198906421661377,
-0.22464407980442047,
0.8513297438621521,
0.001879572868347168,
-0.17113712430000305,
-0.4132709801197052,
0.2794438302516937,
-0.07364046573638916,
0.07015956938266754... |
api/mediarecorder/error_event/index.md | API - MediaRecorder - error event - Event type:
A `MediaRecorderErrorEvent`. Inherits from `Event`. | [
0.04676835611462593,
-0.6044963598251343,
-0.42247506976127625,
0.420745313167572,
-0.10121800005435944,
-1.0811448097229004,
-0.5901584625244141,
0.677110493183136,
0.331912636756897,
-0.4534449279308319,
0.016456138342618942,
0.009038500487804413,
0.07210930436849594,
0.25537076592445374... |
api/mediarecorder/error_event/index.md | API - MediaRecorder - error event - Description - Trigger:
A function to be called whenever an error occurs during the recorder's lifetime. In addition to other general errors that might occur, the following errors are specifically possible when using the MediaStream Recording API; to determine which occurred, check t... | [
1.1722296476364136,
-1.056252121925354,
-0.8030763268470764,
0.7692977786064148,
0.29149794578552246,
-1.1984251737594604,
-0.3285219967365265,
0.7144045233726501,
0.08400082588195801,
-0.2381315529346466,
-0.05522996932268143,
-0.2676270604133606,
-0.1439874768257141,
0.1992664635181427,
... |
api/mediarecorder/error_event/index.md | API - MediaRecorder - error event - Examples:
Using `addEventListener()` to listen for `error` events:
Example:
async function record() {
const stream = await navigator.mediaDevices.getUserMedia({ audio: true });
const recorder = new MediaRecorder(stream);
recorder.addEventListener("error", (event) => {
co... | [
0.2823268473148346,
-0.9672604203224182,
-0.6077288389205933,
0.7774954438209534,
0.2678705155849457,
-0.9467496871948242,
-0.19753621518611908,
0.5131545662879944,
0.33148252964019775,
-0.06857062876224518,
-0.2101891189813614,
-0.43770039081573486,
-0.19472014904022217,
0.192630231380462... |
api/cssunparsedvalue/index.md | API - CSSUnparsedValue:
The `CSSUnparsedValue` interface of the CSS Typed Object Model API represents property values that reference custom properties. It consists of a list of string fragments and variable references.
Custom properties are represented by `CSSUnparsedValue` and `var()` references are represented usin... | [
-0.27832239866256714,
-0.39762210845947266,
-0.3866051435470581,
0.816480278968811,
0.16716790199279785,
-2.1894257068634033,
0.3258735239505768,
0.08037373423576355,
0.7602939009666443,
0.5005674362182617,
0.03471370041370392,
0.5843679904937744,
0.9500505924224854,
0.20117086172103882,
... |
api/cssunparsedvalue/index.md | API - CSSUnparsedValue - Constructor:
- `CSSUnparsedValue()`: Creates a new `CSSUnparsedValue` object. | [
-0.8271225094795227,
0.253860741853714,
-0.3048964738845825,
0.306302547454834,
0.14227743446826935,
-2.1162397861480713,
-0.22667577862739563,
0.5629492402076721,
-0.2910492420196533,
0.2841379642486572,
-0.18708141148090363,
-0.16665604710578918,
0.8583869934082031,
0.4026566445827484,
... |
api/cssunparsedvalue/index.md | API - CSSUnparsedValue - Instance properties:
- `CSSUnparsedValue.length`: Returns the number of items in the `CSSUnparsedValue` object. | [
-0.9225708842277527,
0.5353696346282959,
-0.6134287118911743,
-0.016634812578558922,
-0.3477988541126251,
-1.9431788921356201,
0.44107797741889954,
-0.02701781876385212,
-0.3254307806491852,
0.02901703119277954,
-0.24772068858146667,
0.43792134523391724,
0.4787742495536804,
0.0373222157359... |
api/cssunparsedvalue/index.md | API - CSSUnparsedValue - Instance methods:
- `CSSUnparsedValue.entries()`: Returns an array of a given object's own enumerable property `[key, value]` pairs in the same order as that provided by a `for...in` loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
- `CSSUnpa... | [
0.007261501159518957,
-0.0015789782628417015,
-0.5249696969985962,
0.7392452359199524,
0.06456023454666138,
-1.4100579023361206,
0.11587843298912048,
0.3371853232383728,
0.01182200014591217,
0.43482643365859985,
0.14170727133750916,
0.42918339371681213,
0.539666473865509,
0.207308590412139... |
api/cssunparsedvalue/cssunparsedvalue/index.md | API - CSSUnparsedValue:
The `CSSUnparsedValue()` constructor creates a new `CSSUnparsedValue` object which represents property values that reference custom properties. | [
-0.6421800851821899,
-0.04260571300983429,
-0.550159752368927,
0.5397137403488159,
0.5550451278686523,
-1.8653819561004639,
0.118252232670784,
0.2779933214187622,
0.36598366498947144,
0.4052550196647644,
0.059370964765548706,
0.2652501165866852,
0.7291088104248047,
-0.09287837147712708,
... |
api/cssunparsedvalue/cssunparsedvalue/index.md | API - CSSUnparsedValue - Syntax:
Example:
new CSSUnparsedValue(members) | [
-0.3146049380302429,
0.1320391595363617,
-0.5942673683166504,
0.00900120660662651,
-0.28863081336021423,
-2.516362190246582,
0.9052878022193909,
-0.020969737321138382,
-0.06818296015262604,
0.7522060871124268,
0.4213380813598633,
0.3701874315738678,
0.393294095993042,
0.4700964093208313,
... |
api/cssunparsedvalue/cssunparsedvalue/index.md | API - CSSUnparsedValue - Syntax - Parameters:
- `members`: An array whose values must be either a string or a `CSSVariableReferenceValue`. | [
0.15342587232589722,
0.10425322502851486,
-0.5627359747886658,
0.21802842617034912,
0.15676745772361755,
-2.4198360443115234,
0.9952915906906128,
-0.031206054612994194,
-0.15693692862987518,
0.4396556615829468,
0.033124737441539764,
0.2309240698814392,
0.36823350191116333,
0.18333727121353... |
api/cssunparsedvalue/cssunparsedvalue/index.md | API - CSSUnparsedValue - Examples - Basic usage:
Example:
const value = new CSSUnparsedValue(["4deg"]);
const values = new CSSUnparsedValue(["1em", "#445566", "-45px"]);
console.log(value); // CSSUnparsedValue {0: "4deg", length: 1}
console.log(values); // CSSUnparsedValue {0: "1em", 1: "#445566", 2: "-45px", length... | [
-0.16878964006900787,
-0.24677674472332,
-0.8167861700057983,
0.023195475339889526,
-0.23247607052326202,
-1.522903323173523,
-0.10427138209342957,
0.018327128142118454,
-0.03198792412877083,
-0.14102435111999512,
-0.010559534654021263,
0.20502889156341553,
0.6972594857215881,
0.0312422364... |
api/cssunparsedvalue/length/index.md | API - CSSUnparsedValue - length:
The `length` read-only property of the `CSSUnparsedValue` interface returns the number of items in the object. | [
-0.3147798776626587,
0.09722624719142914,
-0.5150747299194336,
0.1309361606836319,
-0.11842533200979233,
-1.6258947849273682,
0.7459699511528015,
0.037388160824775696,
-0.19339445233345032,
0.28539425134658813,
-0.5198773145675659,
0.26809555292129517,
0.10764068365097046,
0.19055809080600... |
api/cssunparsedvalue/length/index.md | API - CSSUnparsedValue - length - Value:
An integer. | [
-0.659689724445343,
0.500158429145813,
-1.0023908615112305,
-0.7086389660835266,
-0.06639285385608673,
-1.4661695957183838,
0.6737982034683228,
-0.0009992476552724838,
-0.6376743316650391,
0.10732686519622803,
-0.013898765668272972,
0.27551981806755066,
-0.17240144312381744,
-0.25777018070... |
api/cssunparsedvalue/length/index.md | API - CSSUnparsedValue - length - Examples - Basic usage:
In this example, we use the `CSSUnparsedValue()` constructor, then query the length:
Example:
const values = new CSSUnparsedValue(["1em", "#445566", "-45px"]);
console.log(values.length); // 3 | [
-0.16247285902500153,
-0.0954124704003334,
-0.6686103940010071,
-0.19770845770835876,
-0.023831337690353394,
-1.5597676038742065,
0.09894964098930359,
0.023915573954582214,
0.27406883239746094,
-0.12008348107337952,
-0.19319097697734833,
0.3086916208267212,
0.6978650689125061,
-0.221512362... |
api/cssunparsedvalue/entries/index.md | API - CSSUnparsedValue - entries:
The `CSSUnparsedValue.entries()` method returns an array of a given object's own enumerable property `[key, value]` pairs in the same order as that provided by a `for...in` loop (the difference being that a for-in loop enumerates properties in the prototype chain as well). | [
-0.5090025067329407,
-0.1151624321937561,
-0.4681352376937866,
0.6534399390220642,
0.2713809609413147,
-2.1499695777893066,
0.2666436731815338,
0.04755963385105133,
0.06640438735485077,
0.3991973400115967,
-0.05477233976125717,
0.7312041521072388,
0.8116018772125244,
0.31406959891319275,
... |
api/cssunparsedvalue/entries/index.md | API - CSSUnparsedValue - entries - Syntax:
Example:
entries(obj) | [
-0.8132057189941406,
0.40424638986587524,
-0.6562328338623047,
-0.31707707047462463,
-0.1895201951265335,
-2.0834453105926514,
0.2760660648345947,
0.33308935165405273,
0.04690125584602356,
0.43226003646850586,
0.5923370122909546,
0.3510291874408722,
0.5852164626121521,
0.14386878907680511,... |
api/cssunparsedvalue/entries/index.md | API - CSSUnparsedValue - entries - Syntax - Parameters:
- `obj`: The `CSSUnparsedValue` whose enumerable own property `[key, value]` pairs are to be returned. | [
-0.6740759611129761,
0.37346211075782776,
-0.7790057063102722,
-0.006061840802431107,
0.09823115170001984,
-1.7753067016601562,
0.24887576699256897,
-0.2275177538394928,
0.03319433331489563,
0.16395094990730286,
-0.09061600267887115,
0.5871185064315796,
0.8629195690155029,
0.25121915340423... |
api/cssunparsedvalue/entries/index.md | API - CSSUnparsedValue - entries - Syntax - Return value:
An array of the given `CSSUnparsedValue` object's own enumerable property `[key, value]` pairs. | [
-0.352933794260025,
0.16258569061756134,
-0.38668254017829895,
0.2475006878376007,
-0.23221953213214874,
-1.9089964628219604,
0.10103917121887207,
0.47862470149993896,
-0.3530699610710144,
0.43939346075057983,
-0.18560674786567688,
0.5990709066390991,
0.39638176560401917,
0.173903122544288... |
api/cssunparsedvalue/foreach/index.md | API - CSSUnparsedValue - forEach:
The `CSSUnparsedValue.forEach()` method executes a provided function once for each element of the `CSSUnparsedValue`. | [
-0.16945414245128632,
-0.21571922302246094,
-0.6385290026664734,
-0.3702971935272217,
0.21373122930526733,
-2.304615020751953,
0.8504109382629395,
0.18316298723220825,
-0.4299619197845459,
0.18693849444389343,
0.035359397530555725,
0.35244011878967285,
0.4005001485347748,
0.458046376705169... |
api/cssunparsedvalue/foreach/index.md | API - CSSUnparsedValue - forEach - Syntax:
Example:
forEach(callbackFn)
forEach(callbackFn, thisArg) | [
-0.6949995756149292,
0.049376480281353,
0.09606373310089111,
-0.9286320209503174,
0.07961955666542053,
-2.0457091331481934,
0.5473151803016663,
0.5143307447433472,
-0.3215568959712982,
0.14183309674263,
0.30404990911483765,
0.4223797917366028,
-0.641175389289856,
0.5756802558898926,
-0.3... |
api/cssunparsedvalue/foreach/index.md | API - CSSUnparsedValue - forEach - Syntax - Parameters:
- `callbackFn`: The function to execute for each element, taking three arguments:
- `currentValue`: The value of the current element being processed.
- `index` (optional): The index of the current element being processed.
- `array` (optional): The `CSSUnpar... | [
-0.5433200001716614,
-0.2297273427248001,
-0.28296399116516113,
0.22516223788261414,
0.08367548882961273,
-1.6709448099136353,
1.1565518379211426,
0.09564710408449173,
-0.0855255275964737,
0.2596612274646759,
-0.2973025441169739,
0.5037904977798462,
0.06055237352848053,
0.7915067672729492,... |
api/cssunparsedvalue/foreach/index.md | API - CSSUnparsedValue - forEach - Syntax - Return value:
None (`undefined`). | [
-0.6876906752586365,
0.49229156970977783,
-0.29005640745162964,
-0.7385073304176331,
-0.22566191852092743,
-1.5149755477905273,
0.22933366894721985,
0.5969920754432678,
-0.970933735370636,
0.29629403352737427,
0.1907496303319931,
0.4786258339881897,
0.08238203823566437,
0.5269491672515869,... |
api/cssunparsedvalue/keys/index.md | API - CSSUnparsedValue - keys:
The `CSSUnparsedValue.keys()` method returns a new array iterator object that contains the keys for each index in the array. | [
-0.6645844578742981,
-0.11972790211439133,
-0.7642329335212708,
0.31484711170196533,
0.2386755645275116,
-1.8257766962051392,
0.5313135981559753,
0.4175407588481903,
-0.4020208716392517,
0.36697471141815186,
0.174466073513031,
0.6280218362808228,
0.39229926466941833,
0.36426055431365967,
... |
api/cssunparsedvalue/keys/index.md | API - CSSUnparsedValue - keys - Syntax:
Example:
keys() | [
-0.6427027583122253,
0.5397075414657593,
-0.596432626247406,
-0.2329869270324707,
-0.14680078625679016,
-1.8349848985671997,
0.6234490275382996,
0.37069568037986755,
-0.4174208343029022,
0.3998059034347534,
0.4345153570175171,
0.42556968331336975,
0.027086306363344193,
0.08696573972702026,... |
api/cssunparsedvalue/keys/index.md | API - CSSUnparsedValue - keys - Syntax - Parameters:
None. | [
-0.44166702032089233,
0.703252375125885,
-0.37408173084259033,
0.03115951269865036,
-0.20420551300048828,
-1.4757804870605469,
0.7889474630355835,
0.650934100151062,
-0.41920068860054016,
0.3222207725048065,
-0.24796146154403687,
-0.1928195357322693,
0.5808770656585693,
0.33358070254325867... |
api/cssunparsedvalue/keys/index.md | API - CSSUnparsedValue - keys - Syntax - Return value:
A new `Array`. | [
-0.2548387348651886,
0.5107620358467102,
-0.7112484574317932,
-0.11596380919218063,
-0.056240372359752655,
-1.6155694723129272,
0.4173901379108429,
0.55402672290802,
-0.26226139068603516,
0.6693879961967468,
0.48991096019744873,
0.2440362572669983,
0.2921023666858673,
0.49868786334991455,
... |
api/cssunparsedvalue/values/index.md | API - CSSUnparsedValue - values:
The `CSSUnparsedValue.values()` method returns a new array iterator object that contains the values for each index in the CSSUnparsedValue object. | [
-0.7770553827285767,
-0.2084631621837616,
-0.5620149374008179,
-0.0112104881554842,
0.20336097478866577,
-1.6852550506591797,
0.2735350728034973,
0.28077301383018494,
-0.29687607288360596,
0.1255418211221695,
0.06328274309635162,
0.18279299139976501,
0.8738300800323486,
0.2509562075138092,... |
api/cssunparsedvalue/values/index.md | API - CSSUnparsedValue - values - Syntax:
Example:
values() | [
-0.16936659812927246,
0.6322619915008545,
-0.5956354141235352,
-0.4831795394420624,
-0.6980597972869873,
-2.020714044570923,
0.823108434677124,
0.2795926034450531,
-0.7352453470230103,
0.2870100140571594,
0.43270114064216614,
0.5068378448486328,
0.5125120878219604,
0.26891499757766724,
-... |
api/cssunparsedvalue/values/index.md | API - CSSUnparsedValue - values - Syntax - Parameters:
None. | [
-0.46135213971138,
1.076544165611267,
-0.3179527223110199,
-0.18169912695884705,
-0.47147879004478455,
-1.5068544149398804,
1.0595060586929321,
0.8516684770584106,
-0.8054311275482178,
0.25732898712158203,
-0.3430694341659546,
0.0446564257144928,
0.759730875492096,
0.24683162569999695,
-... |
api/cssunparsedvalue/values/index.md | API - CSSUnparsedValue - values - Syntax - Return value:
A new `Array`. | [
-0.6723076701164246,
0.5610624551773071,
-0.7471211552619934,
-0.2907133996486664,
-0.22218850255012512,
-1.5913101434707642,
0.20264464616775513,
0.49516814947128296,
-0.27256470918655396,
0.4630998373031616,
0.3947175443172455,
0.28931519389152527,
0.5442289113998413,
0.6294797658920288,... |
api/hid/connect_event/index.md | API - HID - connect event:
Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers.
The `connect` event of the `HID` interface fires when the user agent connects to a HID device. | [
0.10363712161779404,
0.004641326144337654,
-0.4035300612449646,
-0.06466527283191681,
0.15211604535579681,
-0.5121630430221558,
0.3178367614746094,
1.3018437623977661,
0.14964397251605988,
0.6352733969688416,
-0.0729677826166153,
0.5983825325965881,
0.45697104930877686,
0.4827514886856079,... |
api/hid/connect_event/index.md | API - HID - connect event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("connect", (event) => { })
onconnect = (event) => { } | [
0.3151068389415741,
-0.741540253162384,
0.13026107847690582,
0.15152491629123688,
-0.7176962494850159,
-0.9013944864273071,
0.4505503177642822,
0.6258047819137573,
-0.28972306847572327,
0.5080822706222534,
-0.8413853645324707,
0.2817993760108948,
-0.1921411007642746,
0.11796437203884125,
... |
api/hid/connect_event/index.md | API - HID - connect event - Event type:
A `HIDConnectionEvent`. Inherits from `Event`. | [
0.2226356714963913,
-0.2048247903585434,
-0.42957067489624023,
-0.025563914328813553,
-0.6826653480529785,
-0.6439937949180603,
0.2849019765853882,
1.4798831939697266,
-0.6509042382240295,
0.593360960483551,
-0.2365434616804123,
0.29942864179611206,
-0.027417680248618126,
0.797081112861633... |
api/hid/connect_event/index.md | API - HID - connect event - Examples:
In the following example an event listener is registered to listen for the connection of a device. The name of the device is then printed to the console using `HIDDevice.productName`.
Example:
navigator.hid.addEventListener("connect", ({ device }) => {
console.log(`HID connect... | [
0.13163748383522034,
-0.6030026078224182,
-0.5324428677558899,
0.5198759436607361,
-0.3728642463684082,
-0.5917632579803467,
0.3073171079158783,
0.007501870393753052,
-0.2822369337081909,
1.0108164548873901,
-0.656902551651001,
0.08681343495845795,
0.11188870668411255,
0.48469477891921997,... |
api/hid/disconnect_event/index.md | API - HID - disconnect event:
Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers.
The `disconnect` event of the `HID` interface fires when the user agent disconnects a HID device. | [
0.11869913339614868,
-0.07148678600788116,
-0.728744387626648,
-0.018718533217906952,
0.042234405875205994,
-0.8684229850769043,
0.39993420243263245,
1.1553101539611816,
0.16293686628341675,
0.5896788239479065,
-0.2796580493450165,
0.3652819097042084,
0.2666887938976288,
0.4316762387752533... |
api/hid/disconnect_event/index.md | API - HID - disconnect event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("disconnect", (event) => { })
ondisconnect = (event) => { } | [
0.38862940669059753,
-0.7114455699920654,
0.0190989151597023,
0.1332833617925644,
-0.6691519618034363,
-1.032447099685669,
0.2773444354534149,
0.5357370376586914,
-0.30024757981300354,
0.7202632427215576,
-0.863264262676239,
-0.09145458787679672,
-0.04028761014342308,
0.166982501745224,
... |
api/hid/disconnect_event/index.md | API - HID - disconnect event - Event type:
A `HIDConnectionEvent`. Inherits from `Event`. | [
0.4090178906917572,
-0.3130010962486267,
0.017728105187416077,
-0.0748978853225708,
-1.0787367820739746,
-1.0109939575195312,
0.27047279477119446,
0.39309778809547424,
-0.2872147262096405,
0.5052876472473145,
-0.6308313012123108,
0.021106846630573273,
-0.09978455305099487,
0.51404041051864... |
api/hid/disconnect_event/index.md | API - HID - disconnect event - Examples:
In the following example an event listener is registered to listen for the disconnection of a device. The name of the device is then printed to the console using `HIDDevice.productName`.
Example:
navigator.hid.addEventListener("disconnect", ({ device }) => {
console.log(`HI... | [
0.4534098505973816,
-0.7021533250808716,
-0.7831367254257202,
0.3527809679508209,
-0.2776062488555908,
-1.5768554210662842,
0.34568530321121216,
0.2685762047767639,
-0.11886055022478104,
0.954094409942627,
-0.7053588032722473,
-0.4095768630504608,
0.009715259075164795,
0.4392188489437103,
... |
api/blob/blob/index.md | API - Blob:
Note: This feature is available in Web Workers.
The `Blob()` constructor returns a new `Blob` object. The content of the blob consists of the concatenation of the values given in the parameter `blobParts`. | [
-0.232469379901886,
0.07005526125431061,
-0.5630594491958618,
0.6717821359634399,
0.2626490294933319,
-1.7431976795196533,
0.483548104763031,
0.6250966191291809,
0.399734228849411,
0.30182260274887085,
-0.638792872428894,
0.8327162861824036,
0.6235558986663818,
0.11159232258796692,
0.425... |
api/blob/blob/index.md | API - Blob - Syntax:
Example:
new Blob(blobParts)
new Blob(blobParts, options) | [
0.5622636079788208,
-0.14392316341400146,
-0.19509758055210114,
0.33420681953430176,
-0.3323146104812622,
-0.9759712219238281,
0.5717060565948486,
0.14585813879966736,
0.5301110744476318,
-0.44866663217544556,
-0.38543426990509033,
0.0737839937210083,
0.22467148303985596,
0.575066208839416... |
api/blob/blob/index.md | API - Blob - Syntax - Parameters:
- `blobParts` (optional): An iterable object such as an `Array`, having `ArrayBuffer`s, `TypedArray`s, `DataView`s, `Blob`s, strings, or a mix of any of such elements, that will be put inside the `Blob`. Strings should be well-formed Unicode, and lone surrogates are sanitized using th... | [
0.8411028981208801,
0.12774841487407684,
-0.409012109041214,
0.4992809295654297,
0.8071264028549194,
-1.5131675004959106,
0.925351619720459,
1.205212116241455,
0.03431565314531326,
0.11171884834766388,
-0.4220130443572998,
0.6903239488601685,
0.19783270359039307,
0.4486299753189087,
0.07... |
api/blob/blob/index.md | API - Blob - Syntax - Return value:
A new `Blob` object containing the specified data. | [
0.3318473994731903,
0.3450595736503601,
-0.47376400232315063,
0.33396321535110474,
-0.21380122005939484,
-0.9103261232376099,
0.3393261730670929,
0.4723883271217346,
-0.26593929529190063,
-0.024893682450056076,
-0.8875386714935303,
0.4346090853214264,
0.3533572554588318,
0.6772425770759583... |
api/blob/blob/index.md | API - Blob - Examples:
Example:
const blobParts = ['<q id="a"><span id="b">hey!</span></q>']; // an array consisting of a single string
const blob = new Blob(blobParts, { type: "text/html" }); // the blob | [
0.3747522234916687,
0.05972188711166382,
0.36986517906188965,
0.17578023672103882,
0.208909273147583,
-1.731539011001587,
0.2961742877960205,
0.10699838399887085,
0.31942081451416016,
-0.303969144821167,
-1.0164806842803955,
0.29255273938179016,
0.2075909674167633,
0.197066068649292,
0.3... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped:
Element-scoped view transitions are scoped to a particular element's DOM subtree. They have many advantages over document-scoped view transitions: you can run transitions on subsections of the document while keeping the rest of it interactive, run multiple transitions ... | [
0.7946184277534485,
-0.24356085062026978,
-0.336374431848526,
0.3490980565547943,
-0.0032992735505104065,
-1.3234905004501343,
0.49118441343307495,
0.9544933438301086,
0.46427983045578003,
0.7192063927650452,
-0.27349942922592163,
-0.6329421997070312,
0.23620545864105225,
0.842608094215393... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Problems with document-scoped view transitions:
Document-scoped view transitions are useful for animating DOM content updates across a whole document. You can apply different animations to different parts of the page, a single transition animation to the whole page, o... | [
0.42198988795280457,
-0.42949581146240234,
0.04871944338083267,
0.38099947571754456,
0.13430757820606232,
-1.483168363571167,
0.7766060829162598,
0.8151040077209473,
-0.5474046468734741,
0.6952326893806458,
-0.2924455404281616,
-0.49867087602615356,
0.3187602162361145,
0.7277236580848694,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Basic element-scoped example:
This example features a list of links. When a link is clicked, its content changes, and that change is animated via an element-scoped view transition. The example also contains an element that slightly overlaps the transitioning element; ... | [
0.20477177202701569,
-0.7261883020401001,
0.4524292051792145,
0.6058283448219299,
0.01571601629257202,
-0.829947829246521,
0.39137929677963257,
-0.16173575818538666,
-0.015036553144454956,
0.3071228563785553,
-0.10657528042793274,
-0.7040858268737793,
0.16193053126335144,
0.582210838794708... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Basic element-scoped example - HTML:
The markup includes a `ul` list of links between two `p` elements containing text content.
Example:
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Donec a diam lectus.
Set sit amet ipsum mauris.
</p>
<ul>
<l... | [
-0.8894233107566833,
-0.4880255460739136,
0.14660410583019257,
-0.08106887340545654,
0.5692592263221741,
-1.971300482749939,
0.30787184834480286,
0.28960487246513367,
0.16875118017196655,
0.7057365775108337,
-0.4417725205421448,
0.2604445517063141,
0.2507929801940918,
0.25827914476394653,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Basic element-scoped example - CSS:
We start by giving the `<ul>` some background and `border` styling. We also give it a `position` of `relative`, so we can absolutely position descendants relative to the `<ul>`.
Example:
body {
font: 1.2em / 1.5 sans-serif;
wi... | [
0.05909564718604088,
-0.23988834023475647,
0.3764868378639221,
-0.2029312252998352,
0.1673685610294342,
-0.6133883595466614,
-0.16665814816951752,
1.0601553916931152,
-0.05413537472486496,
0.4322439432144165,
0.06866002827882767,
-0.10334284603595734,
0.04677636921405792,
0.744675636291503... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Basic element-scoped example - JavaScript:
In the script, we grab a reference to the `<ul>` element and add a `click` event listener to it. When it is clicked, we check that the event target is an `<a>` element. If it is, we invoke `startViewTransition()` on the click... | [
-0.09914135187864304,
-0.5326295495033264,
0.14531978964805603,
0.5623751878738403,
0.22524970769882202,
-1.0942862033843994,
0.19456540048122406,
0.6711320877075195,
-0.20227406919002533,
0.7784866094589233,
-0.5463327765464783,
-0.12932462990283966,
0.027611736208200455,
0.39307722449302... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Differences between element- and document-scoped transitions:
The previous example demonstrates how element-scoped view transitions fix some of the issues of their document-scoped counterparts. This is largely thanks to the difference in pseudo-element tree placement.... | [
0.700131893157959,
-0.43178993463516235,
-0.5504429340362549,
0.35375726222991943,
0.006814636290073395,
-1.725772738456726,
0.6962698698043823,
0.8376834392547607,
0.14611691236495972,
0.5670081377029419,
-0.21017712354660034,
-0.6701384782791138,
0.31515899300575256,
0.8707579374313354,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Self-participating scopes and clipping:
Another key feature of element-scoped view transitions is that, when the transitioned element is clipped by its container (via `overflow: scroll`, for example), the element remains clipped during the transition animation.
This ... | [
0.5003337860107422,
-0.8536149859428406,
-0.3505984842777252,
0.652336061000824,
0.4179045557975769,
-1.3268920183181763,
0.553411602973938,
0.5686196684837341,
0.052862346172332764,
0.5842450261116028,
-0.3549387753009796,
-0.5715445876121521,
-0.022902362048625946,
0.9010182619094849,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Self-participating scopes and clipping - HTML:
The HTML is similar to the previous example, except that the central element is now a `section` containing a paragraph of text. We also include a `button` that can be pressed to change the paragraph content.
Example:
<p... | [
0.19857895374298096,
-0.26269495487213135,
0.505084216594696,
0.35685524344444275,
0.5628625154495239,
-2.4754316806793213,
0.0391414538025856,
0.1681901216506958,
0.12714415788650513,
0.9377964735031128,
-0.3167818784713745,
0.06703178584575653,
0.13583675026893616,
0.5110224485397339,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Self-participating scopes and clipping - CSS:
To begin with, we set a fixed `height` and `overflow-y: scroll` on the `<section>` to cause the `<p>` content to scroll vertically.
Example:
body {
font: 1.2em / 1.5 sans-serif;
width: 50%;
max-width: 700px;
marg... | [
-0.4053039252758026,
-0.393631249666214,
0.06307081878185272,
0.45798319578170776,
0.6582282185554504,
-0.9146558046340942,
-0.2174246907234192,
0.7992516756057739,
0.0444464311003685,
0.477453351020813,
-0.16908130049705505,
-0.5661281943321228,
-0.04208991676568985,
0.9656732082366943,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Self-participating scopes and clipping - JavaScript:
The script defines a `content` array containing two different strings to swap the `<p>` content between. We then grab references to the `<section>`, `<p>`, and `<button>` elements.
Example:
const content = [
"Ma... | [
0.3176614046096802,
-0.6283056735992432,
0.02339545637369156,
0.3995507061481476,
0.646909773349762,
-1.7954959869384766,
0.005070224404335022,
0.9651806950569153,
0.4034729301929474,
0.7884642481803894,
-0.07187707722187042,
-0.015354324132204056,
-0.2416841685771942,
0.3229738175868988,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Nested element-scoped view transitions:
One more aspect of element-scoped view transitions worth noting is that you can nest view transitions and have them running concurrently without interference. This is possible because, as mentioned earlier, the browser automatic... | [
-0.196735218167305,
-0.47276046872138977,
0.25015440583229065,
0.38308537006378174,
-0.03634825348854065,
-1.4575300216674805,
0.3126378655433655,
0.528319776058197,
0.40090465545654297,
0.4854757487773895,
-0.16719286143779755,
-0.4535488784313202,
0.4669758975505829,
0.8535963892936707,
... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Nested element-scoped view transitions - CSS:
The two lists are arranged side-by-side within the `.wrapper` element using flexbox. We give the wrapper a `view-transition-name` of `wrapper`, and then we give each list a different background color:
Example:
body {
f... | [
0.0030943697784096003,
-0.5390521883964539,
-0.16095080971717834,
-0.504269003868103,
0.5279920697212219,
-0.2680363953113556,
0.6703361868858337,
1.7119611501693726,
-1.0183353424072266,
0.8126881718635559,
-0.0020352303981781006,
-0.48680728673934937,
0.5158708095550537,
0.54933065176010... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Nested element-scoped view transitions - JavaScript:
The JavaScript is similar to the first example, except that here two element-scoped view transitions run concurrently each time a link is clicked. The first one toggles the text of the link between "Standard" and "A... | [
-0.6587274074554443,
-0.5435702204704285,
-0.052834395319223404,
0.31043535470962524,
-0.06318382173776627,
-0.8875011801719666,
0.4783269762992859,
0.8345301151275635,
-0.31507712602615356,
0.19286072254180908,
-0.49766403436660767,
-0.1686224341392517,
0.04427628964185715,
0.510607242584... |
api/view_transition_api/using_element-scoped/index.md | API - View Transition API - Using element-scoped - Querying active view transitions:
The following properties enable you to query active element-scoped view transitions:
- `ViewTransition.transitionRoot`: Returns a reference to the root element of the view transition's scope.
- `Element.activeViewTransition`: Returns... | [
0.29995647072792053,
-0.8962961435317993,
-0.46680760383605957,
0.7587820291519165,
-0.29840999841690063,
-1.029480218887329,
0.11610350012779236,
0.5184817910194397,
0.40242260694503784,
0.07213307917118073,
-0.2846083641052246,
-1.0022027492523193,
0.1753433644771576,
0.6967615485191345,... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport:
The `RTCDtlsTransport` interface provides access to information about the Datagram Transport Layer Security (`DTLS`) transport over which a `RTCPeerConnection`'s `RTP` and `RTCP` packets are sent and received by its `RTCRtpSender` and `RTCRtpReceiver` objects.
A `RTCDtlsTransport` object is al... | [
0.5002137422561646,
-0.49485132098197937,
-0.6465020179748535,
0.7570095062255859,
-0.038451384752988815,
-0.8971266150474548,
0.040659159421920776,
1.0220383405685425,
-0.3920224606990814,
0.08122286945581436,
-0.20084036886692047,
0.861703634262085,
0.11911222338676453,
0.150575667619705... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Instance properties:
Also inherits properties from `EventTarget`.
- `iceTransport` (read only): Returns a reference to the underlying `RTCIceTransport` object.
- `state` (read only): Returns a string which describes the underlying Datagram Transport Layer Security (`DTLS`) transport state. It... | [
-0.2931356728076935,
-0.6624339818954468,
0.062205687165260315,
0.7105791568756104,
-0.1355924755334854,
-1.0412886142730713,
-0.4465382695198059,
0.1630868762731552,
-0.0484798364341259,
0.09025593847036362,
-0.5575813055038452,
0.08723939955234528,
0.5964617133140564,
0.04562121629714966... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Instance methods:
Also inherits methods from `EventTarget`.
- `getRemoteCertificates()`: Returns an array of `ArrayBuffer` objects representing the remote peer's certificate chain. | [
-0.8086200952529907,
0.13624081015586853,
-0.6053897142410278,
0.38137170672416687,
-0.24640555679798126,
-0.9336989521980286,
0.016054470092058182,
0.14410914480686188,
0.07115718722343445,
-0.15884914994239807,
-0.7519661784172058,
0.847931444644928,
0.28176620602607727,
0.01621221750974... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Events:
- `error`: Sent when a transport-level error occurs on the `RTCPeerConnection`.
- `statechange`: Sent when the `state` of the DTLS transport changes. | [
-0.4632258415222168,
-0.059205226600170135,
-0.08427867293357849,
0.5197883248329163,
-0.6074019074440002,
-0.887336790561676,
0.04024466872215271,
0.12798364460468292,
-0.4950927495956421,
0.054868295788764954,
-0.5177652835845947,
-0.019836541265249252,
0.5246677398681641,
0.451870679855... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Description - Allocation of DTLS transports:
`RTCDtlsTransport` objects are created when an app calls either `setLocalDescription()` or `setRemoteDescription()`. The number of DTLS transports created and how they're used depends on the bundling mode used when creating the `RTCPeerConnection`.
... | [
0.3907117247581482,
-0.5149327516555786,
-0.3084105849266052,
0.9735089540481567,
0.11199545860290527,
-0.8636212348937988,
0.38054826855659485,
1.3419922590255737,
-0.062423743307590485,
0.33347493410110474,
-0.20361442863941193,
0.9750498533248901,
0.16274844110012054,
0.5401158928871155... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Description - Allocation of DTLS transports - When not using BUNDLE:
When the connection is created without using BUNDLE, each RTP or RTCP component of each `RTCRtpTransceiver` has its own `RTCDtlsTransport`; that is, every `RTCRtpSender` and `RTCRtpReceiver`, has its own transport, and all `R... | [
-0.15300945937633514,
-0.6695469617843628,
-0.08300913870334625,
1.1865705251693726,
-0.12156710028648376,
-0.9635531306266785,
-0.3358854651451111,
-0.17397263646125793,
-0.018672749400138855,
-0.09455836564302444,
-0.8763629794120789,
0.32915598154067993,
0.34469372034072876,
0.054560862... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Description - Allocation of DTLS transports - When using BUNDLE:
When the connection is using BUNDLE, each `RTCDtlsTransport` object represents a group of `RTCRtpTransceiver` objects. If the connection was created using `max-compat` mode, each transport is responsible for handling all communic... | [
-0.030882494524121284,
-0.46275654435157776,
-0.7013914585113525,
1.575774073600769,
-0.010848790407180786,
-1.104630947113037,
-0.33564263582229614,
0.4860321879386902,
0.005749329924583435,
0.1737351417541504,
-0.47955697774887085,
-0.2892994284629822,
0.043360620737075806,
0.00552307069... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Description - Data channels:
`RTCDataChannel`s use `SCTP` to communicate. All of a peer connection's data channels share a single `RTCSctpTransport`, found in the connection's `sctp` property.
You can, in turn, identify the `RTCDtlsTransport` used to securely encapsulate the data channels' SC... | [
-0.16509561240673065,
-0.7098017334938049,
-0.7175332307815552,
1.06350576877594,
-0.11219482123851776,
-0.9922354221343994,
-0.006203342229127884,
0.3220790922641754,
0.0469667911529541,
0.3926975727081299,
-1.0561885833740234,
0.260100394487381,
0.4572305679321289,
-0.4236525595188141,
... |
api/rtcdtlstransport/index.md | API - RTCDtlsTransport - Examples:
This example presents a function, `tallySenders()`, which iterates over an `RTCPeerConnection`'s `RTCRtpSender`s, tallying up how many of them are in various states. The function returns an object containing properties whose values indicate how many senders are in each state.
Exampl... | [
-0.18429236114025116,
-0.798528790473938,
-0.48012620210647583,
0.6095061898231506,
-0.10145407170057297,
-1.0549441576004028,
-0.2829371690750122,
0.9491474032402039,
-0.5537508726119995,
0.736435055732727,
-1.3231908082962036,
0.61611008644104,
0.5910607576370239,
0.16586421430110931,
... |
api/rtcdtlstransport/error_event/index.md | API - RTCDtlsTransport - error event:
An `RTCDtlsTransport` receives an `error` event when a transport-level error occurs on the `RTCPeerConnection`.
This event is not cancelable and does not bubble. | [
-0.29577112197875977,
-0.22867584228515625,
-0.05271946266293526,
0.7826277613639832,
-0.3089819550514221,
-1.2827794551849365,
-0.03439031541347504,
-0.07202678918838501,
-0.5109943151473999,
-0.034153085201978683,
-0.5057796239852905,
-0.413987398147583,
0.6511314511299133,
0.40739458799... |
api/rtcdtlstransport/error_event/index.md | API - RTCDtlsTransport - error event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("error", (event) => { })
onerror = (event) => { } | [
0.6106923818588257,
-0.3954165577888489,
-0.15997442603111267,
0.7772912383079529,
-0.13437023758888245,
-1.0168254375457764,
0.117807537317276,
0.610571563243866,
-0.1832396537065506,
0.12821927666664124,
-0.9847012162208557,
0.21752631664276123,
0.4861471652984619,
0.21372166275978088,
... |
api/rtcdtlstransport/error_event/index.md | API - RTCDtlsTransport - error event - Event type:
An `RTCErrorEvent`. Inherits from `Event`. | [
0.017151638865470886,
-0.2659989893436432,
-0.08389957249164581,
0.5218836665153503,
-0.08563642203807831,
-1.0978163480758667,
-0.3913429081439972,
0.4677152931690216,
0.017047420144081116,
-0.17897167801856995,
-0.9792730808258057,
-0.09785503149032593,
0.5099784135818481,
0.232214689254... |
api/rtcdtlstransport/error_event/index.md | API - RTCDtlsTransport - error event - Description:
Transport-level errors will have one of the following values for the specified error's `RTCError` property `errorDetail`:
- `dtls-failure`: The negotiation of the `DTLS` connection failed, or the connection was terminated with a fatal error. The error's `message` co... | [
-0.16378174722194672,
-0.7802855968475342,
-0.5021107792854309,
0.3375515043735504,
-0.03907298296689987,
-0.28314730525016785,
0.04305043816566467,
0.9416840672492981,
-0.5524543523788452,
-0.0823177918791771,
0.2977689504623413,
0.7520666122436523,
0.5818567872047424,
0.5840945839881897,... |
api/rtcdtlstransport/error_event/index.md | API - RTCDtlsTransport - error event - Examples - Basic usage:
Given an `RTCPeerConnection`, `pc`, the following code handles a DTLS transport error:
Example:
const dtlsTransport = pc.getSenders()[0].transport;
dtlsTransport.addEventListener("error", (ev) => {
const err = ev.error;
// …
});
The same code, usin... | [
-0.29766184091567993,
-0.3286686837673187,
-0.5075880885124207,
0.5768700242042542,
-0.4898306727409363,
-1.1151527166366577,
0.6501985192298889,
0.5253925919532776,
0.258939266204834,
0.8552810549736023,
-0.9756651520729065,
0.3691202700138092,
0.7741666436195374,
0.41293323040008545,
0... |
api/rtcdtlstransport/getremotecertificates/index.md | API - RTCDtlsTransport - getRemoteCertificates:
The `getRemoteCertificates()` method of the `RTCDtlsTransport` interface returns the certificate chain of the remote peer of the DTLS connection. | [
-0.3552747368812561,
0.01550132967531681,
-0.5495478510856628,
0.3130892813205719,
-0.42898276448249817,
-1.1625155210494995,
0.4677536189556122,
0.16400769352912903,
-0.46492087841033936,
0.025361841544508934,
-0.7627402544021606,
0.7131597399711609,
0.2773279547691345,
0.1191443949937820... |
api/rtcdtlstransport/getremotecertificates/index.md | API - RTCDtlsTransport - getRemoteCertificates - Syntax:
Example:
getRemoteCertificates() | [
-0.9282508492469788,
0.23142407834529877,
-0.030326716601848602,
0.05250198394060135,
-0.22767101228237152,
-1.5282913446426392,
0.5675241947174072,
0.374237984418869,
-0.4223819673061371,
-0.0740441158413887,
-0.4151715934276581,
0.5957580208778381,
-0.13216876983642578,
0.648080050945282... |
api/rtcdtlstransport/getremotecertificates/index.md | API - RTCDtlsTransport - getRemoteCertificates - Syntax - Parameters:
None. | [
-0.49896425008773804,
0.7074938416481018,
0.14290936291217804,
0.5192229747772217,
-0.3873744308948517,
-0.7423149943351746,
0.904869794845581,
0.583183765411377,
-0.6046374440193176,
-0.387850284576416,
-0.861757755279541,
0.04598809778690338,
-0.0911853015422821,
0.5359935164451599,
-0... |
api/rtcdtlstransport/getremotecertificates/index.md | API - RTCDtlsTransport - getRemoteCertificates - Syntax - Return value:
An array of `ArrayBuffer` objects that represent the remote peer's certificate chain. Each object contains a DER-encoded X.509 certificate.
For `new` connections, this is an empty array. It is populated with the certificates from the remote peer ... | [
-0.642363429069519,
-0.45104432106018066,
-0.7961779832839966,
0.796379804611206,
-0.474449098110199,
-0.7767192125320435,
0.3647175431251526,
1.0401344299316406,
-0.15569353103637695,
0.27168914675712585,
-0.6358960866928101,
0.609419584274292,
-0.046083830296993256,
0.3954806923866272,
... |
api/rtcdtlstransport/getremotecertificates/index.md | API - RTCDtlsTransport - getRemoteCertificates - Syntax - Exceptions:
None | [
-0.3551572263240814,
-0.03070838935673237,
0.1368422955274582,
0.36373838782310486,
-0.41316595673561096,
-1.3104338645935059,
0.6915201544761658,
0.8511204719543457,
0.0007265880703926086,
-0.027412716299295425,
-0.7549310326576233,
0.12425351142883301,
-0.44893088936805725,
0.61362850666... |
api/rtcdtlstransport/getremotecertificates/index.md | API - RTCDtlsTransport - getRemoteCertificates - Description:
WebRTC media and data channels are secured using Datagram Transport Layer Security (DTLS). During signaling, each endpoint advertises the fingerprint of the DTLS certificate it will present. During the DTLS handshake, the browser verifies that the certifica... | [
-1.0939987897872925,
-0.2701095938682556,
-0.3618636429309845,
0.047496579587459564,
0.2232004702091217,
-1.0232754945755005,
-0.3045194447040558,
0.7158946394920349,
0.10610750317573547,
0.1395113617181778,
-0.6304113268852234,
0.8935098648071289,
-0.14423112571239471,
-0.3219490647315979... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.