file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
api/cssscale/y/index.md
API - CSSScale - y - Examples: To Do
[ -1.017156720161438, 0.7299710512161255, -0.7090016603469849, -0.8584014773368835, -0.2569453716278076, -0.71001797914505, 0.6471657156944275, 0.9324000477790833, -0.09980680793523788, 1.0526715517044067, 1.4575096368789673, 0.5536043643951416, -0.3077329695224762, 0.0547158345580101, 1.0...
api/cssscale/cssscale/index.md
API - CSSScale: The `CSSScale()` constructor creates a new `CSSScale` object representing the `scale()` and `scale3d()` values of the individual `transform` property in CSS.
[ -0.2119695544242859, 0.3108924329280853, -0.9950366616249084, -0.3232918083667755, 0.63973069190979, -0.7745102643966675, 0.6527590751647949, 1.611403226852417, 0.0048646703362464905, 0.35866010189056396, 0.1791853904724121, 0.2169066071510315, -0.04273116961121559, -0.27527421712875366, ...
api/cssscale/cssscale/index.md
API - CSSScale - Syntax: Example: new CSSScale(x, y) new CSSScale(x, y, z)
[ -1.332051157951355, 0.6431587338447571, -1.1767935752868652, -1.0067331790924072, 0.386056512594223, -1.5157064199447632, -0.02998139150440693, 1.092076301574707, 0.23229148983955383, 0.5189546346664429, 1.0799695253372192, 0.294778972864151, -0.21498486399650574, 0.3277725875377655, 0.1...
api/cssscale/cssscale/index.md
API - CSSScale - Syntax - Parameters: - `x`: A value for the x-axis of the `CSSScale` object to be constructed. This must either be a number (which is wrapped into a `CSSUnitValue` of `unit: "number"`) or a `CSSNumericValue`. - `y`: A value for the y-axis of the `CSSScale` object to be constructed. This must either be...
[ -0.414249062538147, -0.4890197217464447, -0.9031867980957031, 0.3437943756580353, 0.16173779964447021, -1.3943228721618652, 1.0222324132919312, 0.8791196942329407, -0.16985711455345154, 0.31443411111831665, -0.5278310775756836, -0.36608415842056274, 0.16528324782848358, -0.0925834849476814...
api/cssscale/cssscale/index.md
API - CSSScale - Examples: To do
[ -0.6832528710365295, 0.14705489575862885, 0.0727963000535965, 0.15455996990203857, 0.1487562358379364, -0.3221496045589447, -0.1283298134803772, 0.3084924817085266, -0.4842744469642639, 0.9433878064155579, 0.3412055969238281, 0.36563125252723694, 0.31751829385757446, -0.04467128962278366, ...
api/csskeywordvalue/value/index.md
API - CSSKeywordValue - value: The `value` property of the `CSSKeywordValue` interface returns or sets the value of the `CSSKeywordValue`.
[ -0.19593745470046997, 0.32575592398643494, -0.3410371243953705, 0.13605864346027374, 0.16780847311019897, -2.12678861618042, 0.5782972574234009, 0.22598975896835327, -0.0995657742023468, -0.02076805755496025, -0.14408516883850098, 0.3563491404056549, 0.9316433072090149, 0.34444674849510193...
api/csskeywordvalue/value/index.md
API - CSSKeywordValue - value - Value: A string.
[ -0.7788403034210205, 0.08616827428340912, -0.9281104803085327, -0.6095536351203918, -0.10032301396131516, -1.5934263467788696, 0.9154744744300842, 0.9836858510971069, -0.11811558902263641, -0.6482825875282288, 0.7406439185142517, -0.42436376214027405, -0.12255620956420898, 0.30098447203636...
api/csskeywordvalue/value/index.md
API - CSSKeywordValue - value - Value - Exceptions: - `TypeError`: Thrown if the `value` property is an empty `String` when being set.
[ -0.7184409499168396, 0.3073519766330719, -0.5938955545425415, 0.17051032185554504, 0.13105694949626923, -2.336946487426758, 0.8376314640045166, 0.5277834534645081, 0.19302448630332947, 0.1659328192472458, 0.41675642132759094, 0.40522468090057373, 0.7298555374145508, 0.11650142073631287, ...
api/csskeywordvalue/value/index.md
API - CSSKeywordValue - value - Examples - Basic usage: The following example resets the CSS `display` property to its defaults. Example: let indicator = document.getElementById("indicator"); indicator.attributeStyleMap.set("display", new CSSKeywordValue("initial")); indicator.attributeStyleMap.get("display").value;...
[ -0.3488806486129761, -0.32410648465156555, -0.5062587857246399, 0.07591018080711365, -0.515842854976654, -2.1131978034973145, 0.8976870179176331, 0.4767236113548279, -0.46396884322166443, 0.338477224111557, 0.1777905374765396, 0.4505379796028137, 0.7628098726272583, -0.08346910774707794, ...
api/webxr_device_api/performance/index.md
API - WebXR Device API - Performance: WebXR applications involve multiple technologies which can be highly sensitive to performance constraints. As such, you may find yourself needing to make adjustments or compromises to optimize the performance of your WebXR application to be as usable as possible on the broadest as...
[ -0.28682735562324524, 0.0708632543683052, -0.5726900100708008, 0.3058355450630188, -0.8381759524345398, -1.493396282196045, 0.017657503485679626, 0.07071559131145477, 0.7446770071983337, 0.30001547932624817, -0.4281582832336426, 0.21360233426094055, 0.24174779653549194, 0.14469704031944275...
api/webxr_device_api/performance/index.md
API - WebXR Device API - Performance - Rendering tips: Talk about general stuff like limiting how many different loops there are during rendering, avoiding unnecessary drawing, etc. Can probably also include stuff from this explainer in the spec repo
[ -0.42200860381126404, -0.05121118575334549, -0.4799996614456177, 0.6935285925865173, -0.8009656071662903, -1.767311453819275, 0.22031116485595703, 0.4012323021888733, 0.3844026029109955, 0.2939048409461975, -0.03193522244691849, 0.6127347350120544, 0.4745277762413025, 0.12217596173286438, ...
api/webxr_device_api/performance/index.md
API - WebXR Device API - Performance - Managing rendering quality: This section will come in part from this explainer in the spec repo
[ -0.5341036319732666, -0.09348247200250626, 0.0010604914277791977, 0.5544373989105225, -0.4976411461830139, -1.176567792892456, 0.1159709244966507, 0.4812496304512024, 0.25602003931999207, 0.41478827595710754, 0.016131367534399033, 0.46489518880844116, 0.3369075059890747, 0.2528499364852905...
api/webxr_device_api/performance/index.md
API - WebXR Device API - Performance - Managing frame rate: Content about frame rate management.
[ -0.46627992391586304, -0.43292608857154846, 0.11388956010341644, 0.44646137952804565, -0.32924914360046387, -0.6933168768882751, 0.17794422805309296, 0.16027146577835083, 0.43538081645965576, 0.30154749751091003, -0.556068480014801, 0.056663818657398224, 0.46993863582611084, 0.238719999790...
api/webxr_device_api/performance/index.md
API - WebXR Device API - Performance - Managing use of depth: This section will combine information from this explainer and this one, in the spec repository.
[ -0.010956674814224243, -0.397546648979187, -0.4644485116004944, 0.4007965326309204, -0.2344990372657776, -1.0289645195007324, 0.5579978227615356, 0.16050982475280762, 0.23235002160072327, 0.18157756328582764, -0.5572267174720764, 0.20733624696731567, 0.1253296285867691, 0.5264691710472107,...
api/webxr_device_api/performance/index.md
API - WebXR Device API - Performance - Optimizing memory use: When using libraries that perform things such as matrix mathematics, you typically have a number of working variables through which various vectors, matrices, and quaternions pass over time. It makes sense, then, to have a limited set of these objects, repl...
[ 0.15500742197036743, 0.3886619508266449, -0.16101564466953278, 0.7890474796295166, 0.19699594378471375, -1.1949080228805542, -0.16064399480819702, 0.43627646565437317, 0.5760619640350342, 0.3851236402988434, -0.8522511720657349, 0.013071984052658081, 0.6966400146484375, 0.1389443427324295,...
api/popover_api/using/index.md
API - Popover API - Using: The Popover API provides developers with a standard, consistent, flexible mechanism for displaying popover content on top of other page content. Popover content can be controlled either declaratively using HTML attributes, or via JavaScript. This article provides a detailed guide to using al...
[ 0.8093311190605164, -0.4390178918838501, -0.17399629950523376, 0.4430680274963379, 0.250241756439209, -1.3546220064163208, 0.02983938902616501, 1.6797997951507568, 0.11678333580493927, 0.3112604022026062, -0.6038152575492859, 0.8967163562774658, -0.13258418440818787, 0.23172512650489807, ...
api/popover_api/using/index.md
API - Popover API - Using - Creating declarative popovers: In its simplest form, a popover is created by adding the `popover` attribute to the element that you want to contain your popover content. An `id` is also needed to associate the popover with its controls. Example: <div id="mypopover" popover>Popover content...
[ 0.15381260216236115, -0.0643991231918335, -0.019466055557131767, 0.6751129031181335, 0.12221948802471161, -0.4915376305580139, 0.05182546377182007, 1.1139339208602905, 0.4897289276123047, 0.46342724561691284, -1.0881017446517944, -0.018372483551502228, -0.13240602612495422, 0.0188899859786...
api/popover_api/using/index.md
API - Popover API - Using - Creating declarative popovers - `command` and `commandfor`: The `commandfor` and `command` attributes provide very similar functionality to `popovertarget` and `popovertargetaction`, but with a more general design aimed at providing other functionality beyond popover commands, including cus...
[ -0.6735436320304871, 0.013725033029913902, -0.20712710916996002, 0.40994346141815186, -0.05651922896504402, -1.468766689300537, -0.33395227789878845, 1.0582829713821411, 0.43163758516311646, 0.48860496282577515, -0.5347617268562317, -0.15372316539287567, -0.06919992715120316, -0.1239946261...
api/popover_api/using/index.md
API - Popover API - Using - auto state, and "light dismiss": When a popover element is set with `popover` or `popover="auto"` as shown above, it is said to have auto state. The important behaviors to note about auto state are: - The popover can be "light dismissed" — this means that you can hide the popover by clicki...
[ -0.4331238865852356, -0.28297823667526245, -0.2043030709028244, 0.15074889361858368, -0.2536356747150421, -0.5014511346817017, 0.055585943162441254, 1.3899365663528442, 0.07789662480354309, 0.6554059386253357, -1.1692745685577393, 0.07582095265388489, 0.38402506709098816, -0.23812863230705...
api/popover_api/using/index.md
API - Popover API - Using - Popover accessibility features: When a relationship is established between a popover and its control (invoker) via the `popovertarget` attribute, the API automatically makes two other changes to the environment to allow keyboard and assistive technology (AT) users to more easily interact wi...
[ 1.204487681388855, -0.5787327289581299, -0.3398464620113373, 0.8276870250701904, -0.060506124049425125, -0.6606418490409851, -0.033170003443956375, 1.1681742668151855, 0.2805787920951843, 0.5709170699119568, 0.040678270161151886, 0.390083372592926, 0.7611732482910156, -0.11992055922746658,...
api/popover_api/using/index.md
API - Popover API - Using - Other ways to set up a popover-invoker relationship: You can set up a popover-invoker relationship in other ways, in addition to using the `popovertarget` attribute: - Using the `source` option of the `HTMLElement.showPopover()` or `HTMLElement.togglePopover()` methods. Bear in mind that i...
[ 0.32298460602760315, -0.2754842936992645, -0.5036883354187012, 0.95269376039505, -0.16998928785324097, -1.2027828693389893, 0.39699965715408325, 1.0819664001464844, 1.0590614080429077, -0.021158311516046524, -0.5717828869819641, 0.5942662358283997, 0.44926807284355164, -0.5644359588623047,...
api/popover_api/using/index.md
API - Popover API - Using - Using manual popover state: One alternative to auto state is manual state, achieved by setting `popover="manual"` on your popover element: Example: <div id="mypopover" popover="manual">Popover content</div> In this state: - The popover cannot be "light dismissed", although declarative s...
[ -0.5863955020904541, -0.6650410294532776, -0.0701630711555481, 0.3122071921825409, -0.17011575400829315, -0.3659108281135559, 0.6414980292320251, 1.4983323812484741, 0.5350250005722046, 0.4398759603500366, -0.9958561658859253, 0.13325850665569305, 0.47989583015441895, -0.4709835946559906, ...
api/popover_api/using/index.md
API - Popover API - Using - The `beforetoggle` and `toggle` events: You can respond to a popover being shown or hidden using the `beforetoggle` and `toggle` events: - `beforetoggle` is fired just before a popover is shown or hidden. This can be used for example to prevent the popover being shown or hidden (using `Eve...
[ 0.14969129860401154, -0.5083749294281006, -0.05518876388669014, 0.4012135863304138, 0.0005661100149154663, -1.1052589416503906, -0.38682714104652405, 1.0956848859786987, 0.16960901021957397, 0.1662299782037735, -0.7751465439796448, 0.4258579909801483, 0.0630086287856102, 0.0757605731487274...
api/popover_api/using/index.md
API - Popover API - Using - Showing popovers via JavaScript: You can also control popovers using a JavaScript API. The `HTMLElement.popover` property can be used to get or set the `popover` attribute. This can be used to create a popover via JavaScript, and is also useful for feature detection. For example: Example:...
[ 0.36264094710350037, -0.10627228021621704, 0.3796212077140808, 0.4537438750267029, 0.36596018075942993, -1.0588047504425049, -0.07247099280357361, 1.129013180732727, 0.584455132484436, 0.3851594030857086, -1.3192870616912842, 0.49142521619796753, 0.4023057818412781, 0.18128542602062225, ...
api/popover_api/using/index.md
API - Popover API - Using - Nested popovers: There is an exception to the rule about not displaying multiple auto popovers at once — when they are nested inside one another. In such cases, multiple popovers are allowed to both be open at the same time, due to their relationship with each other. This pattern is support...
[ -0.06335115432739258, -1.0867705345153809, 0.05087951570749283, 0.8846500515937805, -0.28975459933280945, -1.147698163986206, 0.08394204080104828, 0.9686589241027832, 0.738169252872467, 0.6141751408576965, -1.210670828819275, 0.7242710590362549, -0.20553134381771088, -0.047591909766197205,...
api/popover_api/using/index.md
API - Popover API - Using - Nested popovers - Creating the sub-menus with `popover="auto"`: The popup sub-menus are created declaratively, using `auto` popovers. First, the control buttons: Example: <section id="button-bar"> <button popovertarget="submenu-1" popovertargetaction="toggle" id="menu-1"> Menu A ...
[ -0.4610646367073059, -0.21925857663154602, -0.24104969203472137, 1.1158794164657593, -0.2050287425518036, -0.7199345827102661, -0.14388808608055115, 1.3146151304244995, 0.5538910031318665, 0.5447561144828796, -0.6733465194702148, -0.17892292141914368, 0.6371530890464783, 0.3794289529323578...
api/popover_api/using/index.md
API - Popover API - Using - Using "hint" popover state: There is a third type of popover you can create — hint popovers, designated by setting `popover="hint"` on your popover element. They can be light dismissed and will respond to close requests. `hint` popovers do not close `auto` popovers when they are displayed,...
[ -0.4828706383705139, -0.584259569644928, -0.4518613815307617, 0.8384121656417847, 0.12164036929607391, -1.2708775997161865, 0.40840664505958557, 0.9603585600852966, 0.6413176655769348, 0.20334574580192566, -1.3791159391403198, 0.7151192426681519, 0.7437505125999451, -0.22815172374248505, ...
api/popover_api/using/index.md
API - Popover API - Using - Using "hint" popover state - Creating the tooltips with `popover="hint"`: The sub-menu popovers work fine as they are, opening when the toolbar buttons are pressed, but how do we also show tooltips on button hover/focus? First, we create the tooltips in HTML, using `hint` popovers: Example...
[ -0.0024242575746029615, -0.20426209270954132, -0.22350819408893585, 0.9973822832107544, 0.35707300901412964, -1.5454885959625244, -0.19073380529880524, 0.6975487470626831, 0.2022920548915863, 0.8625927567481995, -1.0668787956237793, 0.2972613275051117, -0.06190790981054306, 0.3732216358184...
api/popover_api/using/index.md
API - Popover API - Using - Popover open/close interaction rules: The browser maintains two independent stacks of open popovers: an auto stack for `auto` popovers, and a hint stack for `hint` popovers. When a popover is shown it is pushed onto the appropriate stack; when it is hidden, the browser walks back down that ...
[ 0.14750617742538452, -0.9741233587265015, -0.5910780429840088, 0.9536784291267395, -0.034395359456539154, -1.1464344263076782, -0.3957776725292206, 0.6337900161743164, 0.6005715727806091, 0.2874533236026764, -1.1089094877243042, 0.33284449577331543, 0.22536706924438477, 0.01067441701889038...
api/popover_api/using/index.md
API - Popover API - Using - Styling popovers: This section covers some CSS selection and positioning techniques relevant to popovers.
[ -0.8222163319587708, -0.7667624354362488, -1.0911064147949219, 0.6231980919837952, -0.16002625226974487, -1.2108047008514404, -0.13869863748550415, 0.36032477021217346, 0.13714563846588135, 0.6143835783004761, 0.10344578325748444, 0.1792439967393875, 0.43376442790031433, 0.0253377035260200...
api/popover_api/using/index.md
API - Popover API - Using - Styling popovers - Selecting popovers: You can select all popovers with a simple attribute selector: Example: [popover] { /* Declarations here */ } Alternatively, you can select a specific popover type by including a value in the attribute selector: Example: [popover="auto"] { /* D...
[ -0.3500806391239166, -0.7067347764968872, -0.6183255910873413, 1.4854199886322021, -0.3859751224517822, -1.0221543312072754, -0.34070590138435364, 0.65997314453125, 0.7635290622711182, 0.11081651598215103, -0.5278875231742859, -0.009114023298025131, 0.6027953028678894, -0.7265406250953674,...
api/popover_api/using/index.md
API - Popover API - Using - Styling popovers - Styling the popover backdrop: The `::backdrop` pseudo-element is a full-screen element placed directly behind showing popover elements in the `top layer`, allowing effects to be added to the page content behind the popover(s) if desired. You might for example want to blur...
[ -0.02015494741499424, -0.377522736787796, -0.027631258592009544, 0.0656508207321167, -0.22086429595947266, -0.8409786820411682, 0.3479311168193817, 0.5986250638961792, 0.3647100627422333, 0.2124674767255783, -0.6653653383255005, 0.4299624264240265, -0.01171928085386753, 0.24445968866348267...
api/popover_api/using/index.md
API - Popover API - Using - Styling popovers - Positioning popovers: When looking at the first couple of examples linked at the start of the article, you may have noticed that the popovers appear in the middle of the viewport, wrap their content, and have a black border. This is the default styling, achieved using the...
[ 0.161970317363739, -1.2054013013839722, -0.7387148141860962, 0.29674723744392395, -0.11637093871831894, -0.8241596817970276, -0.00415726937353611, 1.2255620956420898, 0.603358268737793, 0.40987029671669006, -0.38827571272850037, 0.6057843565940857, 0.4070501923561096, 0.2652876377105713, ...
api/popover_api/using/index.md
API - Popover API - Using - Styling popovers - Popover anchor positioning: There is another useful positioning option that the Popover API provides. If you want to position a popover relative to its invoker rather than the viewport or a positioned ancestor, you can take advantage of the fact that popovers and their in...
[ 0.7090772390365601, -1.1168080568313599, -0.22822460532188416, 0.5323805212974548, 0.4105241298675537, -1.3152633905410767, 0.08399208635091782, 1.5866175889968872, 0.6170264482498169, 0.14357388019561768, -0.10252933949232101, 0.08584043383598328, 1.0406546592712402, 0.5103663802146912, ...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers: Popovers are set to `display: none;` when hidden and `display: block;` when shown, as well as being removed from / added to the `top layer` and the accessibility tree. Therefore, for popovers to be animated, the `display` property needs to be animatable. Supporting brows...
[ 0.152317613363266, -0.6721128821372986, -0.1981925666332245, 0.7105724811553955, -0.2231302559375763, -1.2274261713027954, -0.2664167284965515, 0.706908106803894, 0.4438057541847229, 0.6993586421012878, -0.434065043926239, -0.3714544475078583, 0.011814814060926437, 0.43958917260169983, 0...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers - Transitioning a popover: When animating popovers with CSS transitions, the following features are required: - `@starting-style` at-rule: Provides a set of starting values for properties set on the popover that you want to transition from when it is first shown. This is...
[ 0.19374598562717438, -0.7341002225875854, -0.8732560873031616, 0.8693816661834717, -0.06798256188631058, -1.2591745853424072, 0.034287042915821075, 1.2829746007919312, 0.5651516914367676, 0.4520692527294159, -0.4543888568878174, -0.4239061772823334, 0.057622574269771576, 0.1398421078920364...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers - Transitioning a popover - HTML: The HTML contains a `div` element declared to be a popover via the global `popover` HTML attribute, and a `button` element designated as the popover's display control: Example: <button popovertarget="mypopover">Show the popover</button>...
[ -0.603285551071167, -0.34599605202674866, 0.23453795909881592, 0.860470175743103, -0.20421239733695984, -1.4734606742858887, -0.416368693113327, 0.3725440800189972, 0.05430102348327637, 0.35076746344566345, -1.142120599746704, 0.1717834770679474, 0.5845606923103333, 0.1627318263053894, -...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers - Transitioning a popover - CSS: The two popover properties we want to transition are `opacity` and `transform`. We want the popover to fade in or out while growing or shrinking horizontally. To achieve this, we set a starting state for these properties on the hidden stat...
[ 0.0865640938282013, 0.359837144613266, -0.1927950233221054, 0.47163015604019165, 0.20328781008720398, -0.7563105821609497, -0.3603021800518036, 1.4008970260620117, 0.6458858847618103, 0.2866653800010681, -0.8956241011619568, 0.04436931014060974, 0.6293867826461792, 0.20850205421447754, 0...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers - A popover keyframe animation: When animating a popover with CSS keyframe animations, there are some differences to note: - You don't provide a `@starting-style`; you include your "to" and "from" `display` values in keyframes. - You don't explicitly enable discrete anim...
[ 0.3079458475112915, -0.5629709362983704, -0.44379788637161255, 0.06952422112226486, -0.21383124589920044, -0.834967851638794, -0.5891924500465393, 0.9712854623794556, 0.18420663475990295, 0.32185080647468567, -0.33118966221809387, -0.45836564898490906, 0.31591615080833435, 0.52936577796936...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers - A popover keyframe animation - HTML: The HTML contains a `div` element declared as a popover, and a `button` element designated as the popover's display control: Example: <button popovertarget="mypopover">Show the popover</button> <div popover="auto" id="mypopover">I'...
[ -0.154781773686409, -0.21638363599777222, 0.1743035912513733, 0.7831929922103882, 0.047504499554634094, -1.2139009237289429, -0.36691248416900635, 0.40195852518081665, 0.006736695766448975, 0.28698018193244934, -0.9735217094421387, 0.07783834636211395, 0.3298279047012329, 0.139646619558334...
api/popover_api/using/index.md
API - Popover API - Using - Animating popovers - A popover keyframe animation - CSS: We have defined keyframes that specify the desired entry and exit animations, and an entry animation for the backdrop only. Note that it wasn't possible to animate the backdrop fade out — the backdrop is immediately removed from the D...
[ 0.07535238564014435, -0.39430585503578186, 0.1326865404844284, -0.010838629677891731, 0.022603295743465424, -1.7591749429702759, -0.5756468772888184, 0.7568366527557373, 0.19316628575325012, 0.3543427884578705, -0.6540700197219849, 0.016891315579414368, 0.3567766547203064, -0.3772646188735...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get: Secure context: This feature is available only in secure contexts (HTTPS). The `get()` method of the `CredentialsContainer` interface returns a `Promise` that fulfills with a single `credential`, which can then be used to authenticate a user to a website. The method accepts a single...
[ 0.29663005471229553, -0.43067407608032227, -0.37209734320640564, 0.32032278180122375, 0.4167534112930298, -1.418015956878662, 0.05285131186246872, 0.7968634366989136, 0.7046383619308472, -0.0395454503595829, 0.11714275181293488, 0.4377474784851074, 0.34977924823760986, -0.03719957545399666...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Syntax: Example: get() get(options)
[ 0.08319617062807083, -0.4470365643501282, -0.673943042755127, 0.06933324784040451, -0.4599258005619049, -2.228780508041382, 0.3152947723865509, 0.5244243144989014, 0.38972699642181396, -0.22308136522769928, -0.22780808806419373, 0.05573686957359314, -0.35708683729171753, 0.2097606956958770...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Syntax - Parameters: - `options` (optional): An object that contains options for the request. It can contain the following properties: - `mediation` (optional): A string indicating how the user is involved in retrieving the credential. The value can be one of the following: - `"...
[ 0.8921151757240295, -0.03230805695056915, -0.4725976884365082, 0.1726938635110855, 0.6707650423049927, -0.9199521541595459, 1.6720004081726074, 1.4397562742233276, -0.04975157231092453, 0.27345049381256104, -0.3764544427394867, 0.41701117157936096, -0.2073013335466385, 0.20176902413368225,...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Syntax - Return value: A `Promise` that resolves with one of the following subclasses of `Credential`: - `PasswordCredential` - `IdentityCredential` - `FederatedCredential` - `OTPCredential` - `PublicKeyCredential` If conditional mediation was specified in the `get()` call, the bro...
[ -0.051857005804777145, 0.13611534237861633, -0.7133273482322693, -0.6211700439453125, 0.014827810227870941, -1.277717113494873, 1.078277349472046, 1.0862387418746948, -0.4514425992965698, 0.003094799816608429, 0.04707026481628418, 0.9016128778457642, 0.24620649218559265, 0.4418625235557556...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Syntax - Exceptions: - `AbortError` `DOMException`: The request was aborted by a call to the `abort()` method of the `AbortController` associated with this method's `signal` option. Note that if the caller of `abort()` provided a `reason` argument, then `get()` will be rejected with ...
[ 0.2846243977546692, -0.5259803533554077, -0.32716065645217896, -0.024153130128979683, -0.3606928884983063, -1.4403419494628906, 0.06786324828863144, 0.40835025906562805, 1.015172004699707, 0.42749330401420593, -1.3768597841262817, 0.06517159938812256, 0.14837872982025146, -0.33783376216888...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Examples - Retrieving a federated identity credential: Relying parties can call `get()` with the `identity` option to make a request for users to sign in to the relying party via an identity provider (IdP), using identity federation. A typical request would look like this: Example: ...
[ 0.3401714563369751, -0.13581368327140808, -1.3254278898239136, -0.03661208972334862, -0.3470255434513092, -1.55985426902771, 0.4185168445110321, -0.43079063296318054, 0.12243950366973877, 0.15446771681308746, -0.43846750259399414, -0.038019608706235886, -0.21825328469276428, 0.069961756467...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Examples - Retrieving a public key credential: The following snippet shows a typical `get()` call with the WebAuthn `publicKey` option: Example: const publicKey = { challenge: new Uint8Array([139, 66, 181, 87, 7, 203 /* ,… */]), rpId: "acme.com", allowCredentials: [ { ...
[ -0.3963865339756012, -0.23469071090221405, -0.5915764570236206, -0.12935438752174377, 0.11673977971076965, -1.0211002826690674, 0.5540785789489746, 0.05152398347854614, 0.5735862255096436, 0.10413284599781036, -0.5989071726799011, 0.76163649559021, -0.24160023033618927, -0.2703223824501037...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Examples - Retrieving a one-time password: The code below triggers the browser's permission flow when an SMS message arrives. If permission is granted, then the promise resolves with an `OTPCredential` object. The contained `code` value is then set as the value of an `input` form ele...
[ -0.7536059021949768, 0.2503615617752075, -0.7816759943962097, -0.47082018852233887, 0.29390156269073486, -1.6224453449249268, 1.050846815109253, 0.5343000888824463, -0.018446628004312515, 0.2997497022151947, -0.21551790833473206, 0.41421717405319214, -0.06828813999891281, -0.24007251858711...
api/credentialscontainer/get/index.md
API - CredentialsContainer - get - Examples - Implementing a timeout: In this example, we use `AbortSignal.timeout()` to automatically abort the request if it takes longer than 10 seconds. Example: async function authenticateUser() { const publicKey = { challenge: new Uint8Array([139, 66, 181, 87, 7, 203 /* ,…...
[ 0.45345571637153625, -0.2716621160507202, -0.2883179783821106, 0.4534496068954468, -0.17313462495803833, -1.5969902276992798, 0.3466937243938446, -0.18468639254570007, 0.7068477869033813, 0.30122989416122437, -0.5708233118057251, 0.05786439776420593, -0.40405842661857605, -0.02097504958510...
api/svganimationelement/repeatevent_event/index.md
API - SVGAnimationElement - repeatEvent event: The `repeatEvent` event of the `SVGAnimationElement` interface is fired when the element's local timeline repeats. It will be fired each time the element repeats, after the first iteration. Note: Associated with the `repeatEvent` event is an integer that indicates which ...
[ 0.12696120142936707, 0.14036640524864197, -0.17358897626399994, -0.3665587306022644, 0.16398268938064575, -1.2491940259933472, 0.5696011781692505, 1.317712426185608, -0.5872648358345032, 0.4777630567550659, 0.5424565076828003, 1.0923149585723877, -0.29052773118019104, 0.3954029977321625, ...
api/svganimationelement/repeatevent_event/index.md
API - SVGAnimationElement - repeatEvent event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("repeatEvent", (event) => { }) onrepeat = (event) => { }
[ 0.09314823895692825, -0.1352754384279251, -0.06875082850456238, 0.08253086358308792, -0.14000578224658966, -1.577175259590149, 0.20620691776275635, 0.4882305860519409, -0.4123821258544922, 0.20863817632198334, -0.5273243188858032, 0.9490782022476196, -0.08239753544330597, 0.173130467534065...
api/svganimationelement/repeatevent_event/index.md
API - SVGAnimationElement - repeatEvent event - Event type: A `TimeEvent`. Inherits from `Event`.
[ -0.1717497557401657, 0.4409116506576538, 0.30756816267967224, -0.4367072582244873, -0.5209892988204956, -1.3623886108398438, 0.11351482570171356, 0.6175516843795776, -0.466187059879303, 0.33189570903778076, 0.43790894746780396, 0.868165910243988, -0.5340805649757385, 0.3646027147769928, ...
api/svganimationelement/repeatevent_event/index.md
API - SVGAnimationElement - repeatEvent event - Examples - Animated circle: Example: <svg xmlns="http://www.w3.org/2000/svg" width="300px" height="100px"> <title>SVG SMIL Animate with Path</title> <circle cx="0" cy="50" r="50" fill="blue" stroke="black" stroke-width="1"> <animateMotion path="M 0 0 H 300 Z" du...
[ -1.0673882961273193, -0.3663746416568756, 0.3083163797855377, -0.2766713500022888, -0.24092920124530792, -0.8709787130355835, -0.0018656551837921143, 0.5695731043815613, -0.17080384492874146, 0.4594687819480896, -0.03118130750954151, 0.898722767829895, 0.036956094205379486, 0.0257784351706...
api/svganimationelement/repeatevent_event/index.md
API - SVGAnimationElement - repeatEvent event - Examples - Event handler property equivalent: Note that you can also create an event listener for the `repeat` event using the `onrepeat` event handler property: Example: animateElem.onrepeat = () => { console.log("repeatEvent fired"); };
[ -0.45660480856895447, -0.058102454990148544, 0.058673880994319916, 0.4869912266731262, 0.21420761942863464, -1.9200222492218018, 0.23205524682998657, 0.5667979717254639, -0.39716634154319763, 0.006189743988215923, -0.20740550756454468, 1.1068958044052124, -0.2564360499382019, 0.16423043608...
api/svganimationelement/endevent_event/index.md
API - SVGAnimationElement - endEvent event: The `endEvent` event of the `SVGAnimationElement` interface is fired when at the active end of the animation is reached. Note: This event is not raised at the simple end of each animation repeat. This event may be raised both in the course of normal (i.e., scheduled or inte...
[ 0.08833813667297363, -0.13456465303897858, 0.03475755453109741, -0.4234207570552826, -0.23162558674812317, -1.8875457048416138, 0.2259926199913025, 1.3344190120697021, -0.29160383343696594, 0.3697817921638489, 0.5556073188781738, 1.0315577983856201, 0.05799753963947296, 0.4771736264228821,...
api/svganimationelement/endevent_event/index.md
API - SVGAnimationElement - endEvent event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("endEvent", (event) => { }) onend = (event) => { }
[ 0.14366386830806732, -0.3535647690296173, 0.4131568670272827, -0.45138001441955566, -0.3752003014087677, -1.8588978052139282, -0.09223510324954987, 0.39328330755233765, 0.005986541509628296, 0.10360854119062424, -0.3061344027519226, 0.7882391214370728, 0.03433656692504883, 0.03383602201938...
api/svganimationelement/endevent_event/index.md
API - SVGAnimationElement - endEvent event - Event type: A `TimeEvent`. Inherits from `Event`.
[ -0.6047625541687012, 0.15562070906162262, 0.6841490864753723, -0.7033661603927612, -0.8559021949768066, -1.447624683380127, -0.053449101746082306, 0.28552788496017456, -0.1198427826166153, 0.21812619268894196, 0.3645750880241394, 0.7792675495147705, -0.009401585906744003, -0.03748011961579...
api/svganimationelement/endevent_event/index.md
API - SVGAnimationElement - endEvent event - Examples - Animated circle: Example: <svg xmlns="http://www.w3.org/2000/svg" width="300px" height="100px"> <title>SVG SMIL Animate with Path</title> <circle cx="0" cy="50" r="50" fill="blue" stroke="black" stroke-width="1"> <animateMotion path="M 0 0 H 300 Z" dur="...
[ -1.053954839706421, -0.6099569201469421, 0.22970998287200928, -0.207759827375412, -0.12056263536214828, -0.7539642453193665, 0.014397118240594864, 0.2584775686264038, 0.1061614453792572, 0.6234920620918274, -0.40924614667892456, 0.5731967091560364, 0.17913806438446045, -0.05881690233945846...
api/svganimationelement/endevent_event/index.md
API - SVGAnimationElement - endEvent event - Examples - Event handler property equivalent: Note that you can also create an event listener for the `end` event using the `onend` event handler property: Example: animateElem.onend = () => { console.log("endEvent fired"); };
[ -0.35106027126312256, -0.19958463311195374, 0.5344130992889404, 0.42642641067504883, -0.06621533632278442, -2.367685317993164, 0.4463220238685608, 0.6125597357749939, -0.23118185997009277, 0.12299109995365143, -0.04254936799407005, 1.1269727945327759, 0.12063811719417572, -0.00030860677361...
api/svganimationelement/beginevent_event/index.md
API - SVGAnimationElement - beginEvent event: The `beginEvent` event of the `SVGAnimationElement` interface is fired when the element local timeline begins to play. It will be raised each time the element begins the active duration (i.e., when it restarts, but not when it repeats). It may be raised both in the course...
[ 0.32524973154067993, -0.12097376585006714, -0.33614349365234375, -0.29156917333602905, -0.1366479992866516, -1.1821327209472656, 0.7066215872764587, 1.6694722175598145, -0.24461498856544495, 0.5949718356132507, 0.4823261499404907, 1.0856852531433105, -0.3680019676685333, 0.4049608707427978...
api/svganimationelement/beginevent_event/index.md
API - SVGAnimationElement - beginEvent event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("beginEvent", (event) => { }) onbegin = (event) => { }
[ 0.4233965575695038, -0.4859413206577301, 0.1801851987838745, -0.18745921552181244, -0.3458087146282196, -1.0770800113677979, 0.07583063095808029, 0.5103105902671814, 0.380056768655777, 0.15702195465564728, -0.43419256806373596, 0.5473257899284363, -0.1906222701072693, -0.05999195948243141,...
api/svganimationelement/beginevent_event/index.md
API - SVGAnimationElement - beginEvent event - Event type: A `TimeEvent`. Inherits from `Event`.
[ -0.5699135661125183, -0.2281384915113449, 0.44319668412208557, -0.2934689521789551, -0.6879507303237915, -1.1619012355804443, -0.20949728786945343, 0.4970996379852295, 0.08249656856060028, 0.11493521183729172, 0.2959694564342499, 0.8684329986572266, -0.3324722945690155, 0.18949288129806519...
api/svganimationelement/beginevent_event/index.md
API - SVGAnimationElement - beginEvent event - Examples - Animated circle: Example: <svg xmlns="http://www.w3.org/2000/svg" width="300px" height="100px"> <title>SVG SMIL Animate with Path</title> <circle cx="0" cy="50" r="50" fill="blue" stroke="black" stroke-width="1"> <animateMotion path="M 0 0 H 300 Z" dur...
[ -0.8780613541603088, -0.3809339702129364, 0.3081272542476654, -0.30342942476272583, -0.4057144820690155, -0.7037379741668701, 0.24263373017311096, 0.940151572227478, 0.03298749774694443, 0.515173077583313, 0.11200347542762756, 0.568569540977478, 0.008672058582305908, -0.046591050922870636,...
api/svganimationelement/beginevent_event/index.md
API - SVGAnimationElement - beginEvent event - Examples - Event handler property equivalent: Note that you can also create an event listener for the `begin` event using the `onbegin` event handler property: Example: animateElem.onbegin = () => { console.log("beginEvent fired"); };
[ 0.12325750291347504, 0.19894133508205414, 0.014978792518377304, 0.5300425887107849, 0.3680378496646881, -1.5152113437652588, 0.6801664233207703, 1.6021232604980469, -0.5379244089126587, -0.0010064942762255669, 0.3280375599861145, 1.045185923576355, -0.1738680601119995, 0.28648248314857483,...
api/audiotracklist/removetrack_event/index.md
API - AudioTrackList - removetrack event: The `removetrack` event is fired when a track is removed from an `AudioTrackList`.
[ -0.6142681241035461, -0.4276639521121979, -0.13652168214321136, 0.36980924010276794, -0.4605262577533722, -1.5847017765045166, 0.39130839705467224, -0.44580042362213135, 0.10228532552719116, 0.8415820002555847, -0.3578365743160248, -0.4253975749015808, -0.364454060792923, 0.169980809092521...
api/audiotracklist/removetrack_event/index.md
API - AudioTrackList - removetrack event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("removetrack", (event) => { }) onremovetrack = (event) => { }
[ 0.29112404584884644, -0.6172221899032593, -0.14805471897125244, 0.7179795503616333, -0.30340588092803955, -1.4273812770843506, 0.08605024218559265, 0.6182659864425659, -0.10093680769205093, 0.5965755581855774, -0.4956027865409851, -0.15041601657867432, -0.1419091373682022, -0.2642239332199...
api/audiotracklist/removetrack_event/index.md
API - AudioTrackList - removetrack event - Event type: A `TrackEvent`. Inherits from `Event`.
[ -0.28831174969673157, -0.6127533316612244, -0.07285265624523163, 0.3962310254573822, -0.5289840698242188, -1.615807294845581, 0.14221544563770294, 0.6525545120239258, 0.3263794481754303, 0.43493252992630005, -0.6360207796096802, 0.12041662633419037, -0.20257137715816498, -0.079553157091140...
api/audiotracklist/removetrack_event/index.md
API - AudioTrackList - removetrack event - Description - Trigger: The `removetrack` event is called whenever a track is removed from the media element whose audio tracks are represented by the `AudioTrackList` object. This event is not cancelable and does not bubble.
[ -0.46598905324935913, -1.0485703945159912, -0.48239022493362427, 0.8557566404342651, 0.04883192479610443, -1.5148725509643555, -0.207159161567688, 0.28445303440093994, -0.17673993110656738, 0.7932829260826111, -0.604274570941925, 0.034047119319438934, -0.22187446057796478, 0.23390695452690...
api/audiotracklist/removetrack_event/index.md
API - AudioTrackList - removetrack event - Description - Use cases: You can use this event to react to a new audio track becoming unavailable. You may want to update your UI elements to disallow for user selection of the removed audio track, for example.
[ -0.5211431980133057, -0.40524211525917053, -0.08936868607997894, 0.770193874835968, -0.45094096660614014, -1.7957781553268433, 0.19389766454696655, 0.4517742693424225, -0.2853201627731323, 0.9969180822372437, -0.1931469887495041, 0.18002796173095703, -0.004985226318240166, -0.0722853988409...
api/audiotracklist/removetrack_event/index.md
API - AudioTrackList - removetrack event - Examples: Using `addEventListener()`: Example: const videoElement = document.querySelector("video"); videoElement.audioTracks.addEventListener("removetrack", (event) => { console.log(`Audio track: ${event.track.label} removed`); }); Using the `onremovetrack` event handl...
[ -0.02366003952920437, -0.6377890706062317, -0.5761430859565735, 0.9425094723701477, -0.07611298561096191, -1.310581922531128, -0.2281901091337204, 0.31095296144485474, -0.23821891844272614, 0.29963669180870056, -0.1566244661808014, -0.3913625180721283, 0.0362202525138855, -0.26731735467910...
api/audiotracklist/addtrack_event/index.md
API - AudioTrackList - addtrack event: The `addtrack` event is fired when a track is added to an `AudioTrackList`.
[ -0.5372075438499451, -0.715283215045929, -0.17015448212623596, 0.5385758876800537, -0.696645200252533, -1.1431207656860352, 0.6241841316223145, -0.15700212121009827, 0.19625762104988098, 0.33440637588500977, -0.6001698970794678, -0.4654001295566559, -0.6049767136573792, 0.3597092926502228,...
api/audiotracklist/addtrack_event/index.md
API - AudioTrackList - addtrack event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("addtrack", (event) => { }) onaddtrack = (event) => { }
[ 0.3622489273548126, -0.8785848617553711, -0.27507808804512024, 0.7069374918937683, -0.265974223613739, -1.3773516416549683, 0.36433690786361694, 0.6852956414222717, 0.2063729465007782, 0.15144753456115723, -0.8144645094871521, 0.16841678321361542, -0.5663498044013977, 0.04458007216453552, ...
api/audiotracklist/addtrack_event/index.md
API - AudioTrackList - addtrack event - Event type: A `TrackEvent`. Inherits from `Event`.
[ 0.23225131630897522, -0.8758965134620667, 0.04855462908744812, 0.349303662776947, -0.8454089164733887, -1.2022768259048462, 0.3887764811515808, 0.4625672399997711, 0.05400049686431885, 0.5115460753440857, -0.39197811484336853, 0.037193335592746735, -0.3954881727695465, 0.13585282862186432,...
api/audiotracklist/addtrack_event/index.md
API - AudioTrackList - addtrack event - Description - Trigger: The `addtrack` event is called whenever a new track is added to the media element whose audio tracks are represented by the `AudioTrackList` object. This happens when tracks are added to the element when the media is first attached to the element; one `add...
[ 0.15969301760196686, -1.3036221265792847, -0.4631485641002655, 0.8471841812133789, -0.05525468289852142, -1.29892098903656, 0.05153178423643112, 0.9720847010612488, -0.3662308156490326, 0.5950685739517212, -0.08750659227371216, 0.3161238133907318, -0.2810933589935303, 0.6473938226699829, ...
api/audiotracklist/addtrack_event/index.md
API - AudioTrackList - addtrack event - Description - Use cases: You can use this event to react to a new audio track becoming available. You may want to update your UI elements to allow for user selection of the new audio track, for example.
[ -0.2873978614807129, -0.3161941468715668, 0.1299159973859787, 0.6904228329658508, -0.636542797088623, -1.4468039274215698, 0.40151944756507874, 0.6965470314025879, -0.2961809039115906, 0.5189527869224548, -0.0711100697517395, 0.378202348947525, -0.2394632250070572, 0.03667908161878586, 0...
api/audiotracklist/addtrack_event/index.md
API - AudioTrackList - addtrack event - Examples: Using `addEventListener()`: Example: const videoElement = document.querySelector("video"); videoElement.audioTracks.addEventListener("addtrack", (event) => { console.log(`Audio track: ${event.track.label} added`); }); Using the `onaddtrack` event handler property...
[ -0.253656804561615, -0.7357496619224548, -0.5994073748588562, 1.1368166208267212, -0.3005715310573578, -0.9859845042228699, 0.002312641590833664, 0.4228294789791107, -0.4420425295829773, 0.3342791497707367, -0.18738816678524017, -0.040414754301309586, 0.11005173623561859, 0.069506108760833...
api/fontfaceset/index.md
API - FontFaceSet: Note: This feature is available in Web Workers. The `FontFaceSet` interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status. A `FontFaceSet` instance is a `Set`-like object that can hold an ordered set of `FontFace` objects. This property is ava...
[ 0.19417071342468262, -0.7578255534172058, -0.6420823335647583, 0.3836683928966522, 0.21118226647377014, -1.6075466871261597, -0.0027170665562152863, 1.5623210668563843, 0.1712387651205063, 0.2605469226837158, -0.0755426436662674, 0.7445099949836731, 0.6728717684745789, 0.451633095741272, ...
api/fontfaceset/index.md
API - FontFaceSet - Instance properties: - `FontFaceSet.status` (read only): Indicates the font-face's loading status. It will be one of `'loading'` or `'loaded'`. - `FontFaceSet.ready` (read only): `Promise` which resolves once font loading and layout operations have completed. - `FontFaceSet.size` (read only): Retur...
[ -0.22425518929958344, -0.22037670016288757, -0.24825067818164825, 0.11767596006393433, -0.20434048771858215, -1.3990044593811035, 0.2246406376361847, 1.2859233617782593, 0.44536542892456055, -0.45394113659858704, -0.837813138961792, 0.575580894947052, 0.15097691118717194, 0.054969832301139...
api/fontfaceset/index.md
API - FontFaceSet - Instance properties - Events: - `loading`: Fires when a font-face set has started loading. - `loadingdone`: Fires when a font face set has finished loading. - `loadingerror`: Fires when an error occurred while loading a font-face set.
[ -0.4085823595523834, 0.2588386833667755, -0.10242215543985367, 0.11165216565132141, -0.4847213923931122, -1.2091301679611206, 0.464971661567688, 1.4609721899032593, 0.2869367003440857, -0.13075217604637146, 0.0827307477593422, -0.19520333409309387, 0.2703245282173157, 0.3260895907878876, ...
api/fontfaceset/index.md
API - FontFaceSet - Instance methods: - `FontFaceSet.add()`: Adds a font to the font set. - `FontFaceSet.check()`: A boolean value that indicates whether a font is loaded, but doesn't initiate a load when it isn't. - `FontFaceSet.clear()`: Removes all manually-added fonts from the font set. CSS-connected fonts are una...
[ 0.1203976646065712, -0.20946064591407776, -0.32237493991851807, 0.09761716425418854, 0.2542804777622223, -1.0833103656768799, 0.570731520652771, 1.1376829147338867, 0.6280572414398193, -0.43291953206062317, -0.5238986015319824, 0.4292217195034027, -0.06725400686264038, 0.08987227082252502,...
api/cssmathproduct/cssmathproduct/index.md
API - CSSMathProduct: The `CSSMathProduct()` constructor creates a `CSSMathProduct` object that multiplies the arguments passed into it.
[ -0.1050330400466919, 0.2264813631772995, -0.5278652906417847, 0.2717321515083313, 0.3136494755744934, -1.7385238409042358, 0.16535824537277222, 1.3926726579666138, -0.6865125298500061, 0.7143658995628357, -0.26281553506851196, -0.08228056132793427, 0.5827664136886597, 0.03633590787649155, ...
api/cssmathproduct/cssmathproduct/index.md
API - CSSMathProduct - Syntax: Example: new CSSMathProduct(args)
[ -0.7108712792396545, 0.026156730949878693, -0.3184044659137726, 0.027003012597560883, -0.5613203048706055, -1.9564907550811768, -0.04018612951040268, 0.23959892988204956, 0.027870573103427887, 0.5934359431266785, -0.3589879274368286, 0.3602132201194763, 0.2497226595878601, -0.2835447788238...
api/cssmathproduct/cssmathproduct/index.md
API - CSSMathProduct - Syntax - Parameters: - `args`: A list of values for the `CSSMathProduct` object to be either a double integer or a `CSSNumericValue`.
[ -0.4113802909851074, -0.1557455062866211, -0.4412210285663605, 0.13862387835979462, -0.1734764128923416, -2.280571460723877, 0.06073682755231857, 0.6082455515861511, -0.42012834548950195, 0.5967696905136108, -0.8043225407600403, 0.17356427013874054, 0.48348379135131836, -0.3160892128944397...
api/cssmathproduct/values/index.md
API - CSSMathProduct - values: The `CSSMathProduct.values` read-only property of the `CSSMathProduct` interface returns a `CSSNumericArray` object which contains one or more `CSSNumericValue` objects.
[ -0.40332138538360596, 0.14100325107574463, -0.38694557547569275, 0.22125256061553955, -0.039659809321165085, -1.7970300912857056, 0.5089771151542664, 0.5561416149139404, 0.3362025320529938, 0.4984946846961975, -0.21687382459640503, 0.30954334139823914, 1.0441182851791382, -0.14351603388786...
api/cssmathproduct/values/index.md
API - CSSMathProduct - values - Value: A `CSSNumericArray`.
[ -0.8501895666122437, 0.678756058216095, -0.31213974952697754, -0.12811532616615295, -0.13735119998455048, -1.7349886894226074, 0.3458780348300934, 0.2958640456199646, -0.20358744263648987, 1.0119125843048096, -0.1282424032688141, 0.4055750072002411, 1.0014050006866455, -0.18418262898921967...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static: The static method `RTCRtpReceiver.getCapabilities()` returns an object describing the codec and header extension capabilities supported by `RTCRtpReceiver` objects on the current device. You can, similarly, obtain the capabilities of `RTCRtpSender` objects by calling the...
[ -0.8622018098831177, -0.25459161400794983, -0.5192044973373413, 0.20857013761997223, 0.26141780614852905, -1.2553365230560303, 0.13755492866039276, 0.5517985224723816, -0.007440708577632904, 0.34864532947540283, -1.1586194038391113, -0.1688075214624405, -0.03143700957298279, 0.059192419052...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static - Syntax: Example: RTCRtpReceiver.getCapabilities(kind)
[ -0.9918794631958008, 0.0013582520186901093, 0.25835326313972473, -0.12856119871139526, -0.41413259506225586, -1.1863373517990112, -0.12075278908014297, 0.2995125353336334, -0.23591989278793335, -0.1271999180316925, -0.7117060422897339, 0.2189522683620453, -0.6434522271156311, 0.15062440931...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static - Syntax - Parameters: - `kind`: A string indicating the type of media for which the browser's receiver capabilities are requested. The supported media kinds are: `audio` and `video`.
[ -0.4744279980659485, 0.06234891712665558, 0.36874592304229736, 0.516895055770874, -0.13775193691253662, -0.849538266658783, 0.4841492176055908, 0.6183154582977295, -0.8266902565956116, 0.17853660881519318, -0.3286120295524597, -0.17701876163482666, -0.3130912482738495, 0.07476219534873962,...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static - Syntax - Return value: A new object that indicates what capabilities the browser has for receiving 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...
[ 0.38632163405418396, 0.4041300415992737, -0.4079129695892334, 0.5784896016120911, 0.5079324841499329, -0.3552421033382416, 0.7006986737251282, 1.3669835329055786, -0.45087000727653503, -0.11229859292507172, -0.517086923122406, 0.7811077237129211, -0.030022582039237022, 0.1657959520816803, ...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static - Description: As a static function, this is always called using the form: Example: capabilities = RTCRtpReceiver.getCapabilities("audio"); The returned set of capabilities is the most optimistic possible list. It is entirely possible that certain combinations of option...
[ 0.09543512016534805, -0.22959400713443756, -0.23813506960868835, 0.44332027435302734, 0.4996083974838257, -0.6717322468757629, 0.4758712649345398, 1.623314380645752, -0.3689143657684326, 0.2625880539417267, 0.049634017050266266, 0.4846342206001282, -0.293854296207428, 0.04361651837825775, ...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - 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.7547991871833801, -1.0985316038131714, -0.22574159502983093, 1.0653938055038452, 0.1945306360721588, -0.1371007263660431, 0.3939758837223053, 0.9217579960823059, -0.23550163209438324, 0.21426011621952057, -0.7638863325119019, -0.14945265650749207, 0.9839404821395874, 0.0875253826379776,...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static - Examples - Feature support: You can use `Object.hasOwn()` to check that `RTCRtpReceiver.getCapabilities()` is supported: Example: <p id="log"></p> Example: const log = document.querySelector("#log"); Example: log.textContent = `RTCRtpReceiver.getCapabilities() supp...
[ -0.5188284516334534, -0.2921171188354492, -0.069414421916008, -0.20723378658294678, 0.30110982060432434, -1.4919770956039429, -0.6598511934280396, 0.6069130897521973, 0.11500701308250427, -0.4997401237487793, -0.9535215497016907, -0.24442966282367706, 0.08703314512968063, 0.003410071134567...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - getCapabilities static - Examples - Checking support for a particular codec: The function below returns a Boolean indicating whether or not the device supports receiving H.264 video on a WebRTC connection. Note: Since `RTCRtpReceiver.getCapabilities()` actually only indicates > probable support...
[ -0.43491876125335693, -0.21548397839069366, -0.09148363769054413, 0.30681082606315613, 0.24529972672462463, -0.8947095274925232, 0.1655368208885193, 0.43588095903396606, -0.49749696254730225, -0.2226029336452484, -0.7356069684028625, -0.2973749339580536, 0.02503782883286476, -0.11252368986...
api/rtcrtpreceiver/getcapabilities_static/index.md
API - RTCRtpReceiver - 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> <op...
[ 0.7247040271759033, -0.00681734224781394, -0.21783973276615143, 0.9693078994750977, 0.44345182180404663, -0.5335562229156494, 0.44283783435821533, 1.4090760946273804, -0.8335357308387756, 0.14575007557868958, -0.3633635640144348, 0.37006691098213196, -0.11593485623598099, 0.099303930997848...
api/rtcrtpreceiver/getparameters/index.md
API - RTCRtpReceiver - getParameters: The `getParameters()` method of the `RTCRtpReceiver` interface returns an object describing the current configuration for how the receiver's `track` is decoded.
[ -0.46576687693595886, 0.09722750633955002, -0.8554236888885498, 0.6771522164344788, -0.02171308547258377, -1.211784839630127, -0.06837327778339386, -0.017117759212851524, -0.15229356288909912, 0.012684368528425694, -0.8511104583740234, 0.12083053588867188, 0.8208847641944885, 0.57718223333...
api/rtcrtpreceiver/getparameters/index.md
API - RTCRtpReceiver - getParameters - Syntax: Example: getParameters()
[ -0.4880029559135437, 0.4237729609012604, -0.5904557108879089, -0.4451998472213745, -0.27022385597229004, -1.382777452468872, -0.5619103908538818, -0.08314433693885803, 0.02230486273765564, -0.44156596064567566, -0.5479814410209656, 0.1293865293264389, 0.09011342376470566, 0.673628211021423...
api/rtcrtpreceiver/getparameters/index.md
API - RTCRtpReceiver - getParameters - Syntax - Parameters: None.
[ 0.06440264731645584, 0.5241397619247437, -0.5131554007530212, 0.08133003115653992, -0.38108161091804504, -1.2515296936035156, 0.8499178886413574, 0.43981680274009705, -0.6780891418457031, -0.14376811683177948, -0.5551242828369141, 0.25712311267852783, -0.35765883326530457, 0.49342387914657...
api/rtcrtpreceiver/getparameters/index.md
API - RTCRtpReceiver - getParameters - Syntax - Return value: An object indicating the current configuration of the receiver. - `codecs`: An array of objects describing the media codecs that the receiver is ready to use. This is the subset of codecs that the receiver has indicated it prefers and that the remote endpo...
[ 0.7603695392608643, 0.2829670011997223, -0.6229618191719055, 0.9032098650932312, 0.5710479617118835, -0.7852121591567993, 0.7760937809944153, 1.1219408512115479, -0.8138450980186462, -0.28659680485725403, -0.28180956840515137, 0.6087645292282104, -0.13747113943099976, 0.07006224989891052, ...
api/rtcrtpreceiver/getparameters/index.md
API - RTCRtpReceiver - getParameters - Examples: This example obtains the canonical name (CNAME) being used for `RTCP` on an `RTCRtpReceiver`. Example: function getRtcpCNAME(receiver) { let parameters = receiver.getParameters(); return parameters.rtcp.cname; }
[ -0.1495858132839203, 0.17199979722499847, -0.7869393825531006, 0.05340808629989624, -0.09537222236394882, -1.4084718227386475, 0.03740301728248596, -0.002597130835056305, -0.4762810170650482, -0.08242791891098022, -0.6586385369300842, 0.15585175156593323, -0.07153898477554321, -0.033381029...