file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
api/htmlelement/drag_event/index.md
API - HTMLElement - drag event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("drag", (event) => { }) ondrag = (event) => { }
[ 0.21861913800239563, -0.039306603372097015, -0.0415334589779377, 0.25265613198280334, -0.11660199612379074, -1.1047735214233398, 0.27343815565109253, 0.8882472515106201, -0.4460752010345459, 0.2735494375228882, -0.17557848989963531, 0.8048058748245239, 0.0819932222366333, -0.11091683059930...
api/htmlelement/drag_event/index.md
API - HTMLElement - drag event - Event type: A `DragEvent`. Inherits from `Event`.
[ -0.17046213150024414, -0.07066614180803299, 0.2121710181236267, -0.4736263155937195, -0.7771914005279541, -0.6272976398468018, -0.08510914444923401, 0.7379306554794312, -0.637815535068512, 0.22014424204826355, 0.15236806869506836, 0.775412380695343, 0.09062319993972778, 0.14347751438617706...
api/htmlelement/drag_event/index.md
API - HTMLElement - drag event - Examples - Drag and drop example - HTML: Example: <div class="dropzone"> <div id="draggable" draggable="true">This div is draggable</div> </div> <div class="dropzone" id="drop-target"></div>
[ -0.7264875173568726, -0.44591471552848816, 0.37253740429878235, -0.12521086633205414, 0.006491057574748993, -1.439911127090454, 0.08816894143819809, 0.17889147996902466, -0.6227954626083374, 0.49382251501083374, -0.7788865566253662, 0.33865875005722046, -0.1209646463394165, 0.2701620757579...
api/htmlelement/drag_event/index.md
API - HTMLElement - drag event - Examples - Drag and drop example - CSS: Example: body { /* Prevent the user selecting text in the example */ user-select: none; } #draggable { text-align: center; background: white; } .dropzone { width: 200px; height: 20px; background: blueviolet; margin: 10px; pad...
[ -0.41924625635147095, -0.16189420223236084, 0.09540095925331116, -0.581702709197998, -0.13579395413398743, -0.980189323425293, -0.0315670408308506, 0.8034848570823669, -0.48284000158309937, 1.030024766921997, 0.3563711643218994, 0.11990667879581451, 0.44252809882164, -0.05403905361890793, ...
api/htmlelement/drag_event/index.md
API - HTMLElement - drag event - Examples - Drag and drop example - JavaScript: Example: let dragged; /* events fired on the draggable target */ const source = document.getElementById("draggable"); source.addEventListener("drag", (event) => { console.log("dragging"); }); source.addEventListener("dragstart", (even...
[ 0.077339768409729, -0.5419266819953918, 0.07102885842323303, -0.20664960145950317, -0.09936109930276871, -1.0042518377304077, 0.1975173056125641, 0.8396533727645874, -0.14847397804260254, 0.9598115682601929, -0.22267015278339386, 0.650019645690918, -0.3566913604736328, -0.03710364177823067...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event: The `dragleave` event is fired when a dragged element or text selection leaves a valid drop target. This event is not cancelable and may bubble up to the `Document` and `Window` objects.
[ -0.13812924921512604, -0.11109287291765213, 0.24619045853614807, -0.633695662021637, -0.06673427671194077, -1.7441213130950928, 0.13261733949184418, 0.8264626860618591, -0.08694744110107422, 0.388058066368103, -0.11389973014593124, 0.26858633756637573, 0.1383041888475418, 0.585247814655304...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("dragleave", (event) => { }) ondragleave = (event) => { }
[ 0.4043908417224884, -0.4178360402584076, -0.19721560180187225, 0.1048889011144638, -0.15459686517715454, -1.7760857343673706, 0.11219552159309387, 1.2128371000289917, 0.02900565415620804, 0.3412579596042633, -0.4297861158847809, 0.6304929852485657, 0.1835230588912964, -0.16766612231731415,...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event - Event type: A `DragEvent`. Inherits from `Event`.
[ -0.3362622857093811, -0.3451177775859833, 0.2766798138618469, -0.7202932834625244, -0.6764233112335205, -0.9330273866653442, -0.2554524540901184, 1.0284401178359985, -0.40301430225372314, 0.29290589690208435, 0.15716637670993805, 0.8440104722976685, -0.15393748879432678, 0.1682783812284469...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event - Examples - Resetting drop zone styles on dragleave: In this example, we have a draggable element inside a container. Try grabbing the element, dragging it over the other container, and releasing it. We give the other container a purple background while the draggable element is ov...
[ 0.0411866158246994, -1.0700700283050537, 0.1674892008304596, 0.0025145523250102997, -0.25510892271995544, -1.3197026252746582, 0.44687125086784363, 1.5316976308822632, -0.5126873254776001, 0.9322129487991333, -0.36829185485839844, 0.44460564851760864, 0.0000355057418346405, 0.3330194950103...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event - Examples - Resetting drop zone styles on dragleave - HTML: Example: <div class="dropzone"> <div id="draggable" draggable="true">This div is draggable</div> </div> <div class="dropzone" id="drop-target"></div>
[ -0.5896857380867004, -0.6150774955749512, -0.15317583084106445, -0.006699226796627045, -0.035615064203739166, -1.8743265867233276, -0.11658616364002228, 0.6540896892547607, -0.48969754576683044, 0.5534104108810425, -0.6934280395507812, 0.43220633268356323, -0.21447554230690002, 0.334999561...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event - Examples - Resetting drop zone styles on dragleave - CSS: Example: body { /* Prevent the user from selecting text in the example */ user-select: none; } #draggable { text-align: center; background: white; } .dropzone { width: 200px; height: 20px; background: bluev...
[ -0.5576888918876648, -0.4862132668495178, -0.16485239565372467, -0.5051352977752686, -0.018707171082496643, -1.2474260330200195, -0.08315049111843109, 0.7770077586174011, -0.18143028020858765, 1.1923495531082153, 0.28002166748046875, 0.28462862968444824, 0.38306471705436707, -0.03842216730...
api/htmlelement/dragleave_event/index.md
API - HTMLElement - dragleave event - Examples - Resetting drop zone styles on dragleave - JavaScript: Example: const target = document.getElementById("drop-target"); target.addEventListener("dragenter", (event) => { // highlight potential drop target when the draggable element enters it if (event.target.classLis...
[ -0.12769943475723267, -0.689478874206543, -0.29816123843193054, 0.337150514125824, -0.12851673364639282, -1.0615946054458618, 0.026810158044099808, 0.5477080345153809, -0.4006999731063843, 0.6745246052742004, -0.3534073531627655, 0.4321824610233307, -0.15870097279548645, 0.1433693766593933...
api/htmlelement/showpopover/index.md
API - HTMLElement - showPopover: The `showPopover()` method of the `HTMLElement` interface shows a `popover` element (i.e., one that has a valid `popover` attribute) by adding it to the `top layer`. When `showPopover()` is called on an element with the `popover` attribute that is currently hidden, a `beforetoggle` ev...
[ -0.32582592964172363, -0.6089372038841248, -0.18612328171730042, 0.7661614418029785, -0.26482078433036804, -1.6552870273590088, 0.6960935592651367, 0.664587140083313, -0.08657286316156387, 0.2415156215429306, -0.4938175678253174, 0.8354674577713013, 0.6446933746337891, 0.08238507807254791,...
api/htmlelement/showpopover/index.md
API - HTMLElement - showPopover - Syntax: Example: showPopover() showPopover(options)
[ -0.6976444125175476, -0.024153152480721474, 0.18263022601604462, 0.12922361493110657, -0.24442405998706818, -1.0023391246795654, 0.2561245560646057, 0.08917228877544403, -0.3529428541660309, -0.21341677010059357, -0.5037611722946167, 0.32958564162254333, 0.5248203277587891, 0.4410410523414...
api/htmlelement/showpopover/index.md
API - HTMLElement - showPopover - Syntax - Parameters: - `options` (optional): An object that can contain the following properties: - `source` (optional): An `HTMLElement` reference; programmatically defines the invoker of the popover associated with the show action, that is, its control element. Establishing a rela...
[ 0.5801448225975037, -0.18332502245903015, -0.2776554524898529, 0.6298714876174927, 0.1625613272190094, -1.3978222608566284, 0.9327790141105652, 1.286535620689392, 0.11753766238689423, 0.1510714739561081, -0.665654718875885, 0.9739670753479004, 0.7967509031295776, 0.23538285493850708, -0....
api/htmlelement/showpopover/index.md
API - HTMLElement - showPopover - Syntax - Return value: None (`undefined`).
[ -0.9112695455551147, -0.13084647059440613, 0.05251045525074005, -0.151170015335083, -0.35043397545814514, -0.13107389211654663, 0.1905951201915741, 0.3680250644683838, -0.32479286193847656, -0.16484978795051575, -0.23259775340557098, 0.745530903339386, 0.3904498517513275, 0.520348191261291...
api/htmlelement/showpopover/index.md
API - HTMLElement - showPopover - Syntax - Exceptions: - `InvalidStateError` `DOMException`: Thrown if this method is called while another popover is already in the process of being shown or hidden (e.g., within a `beforetoggle` event listener).
[ -0.3130459189414978, -0.6965968608856201, -0.4707223176956177, 0.48534250259399414, -0.12197310477495193, -1.2978198528289795, -0.4073018729686737, 0.8579007983207703, -0.3440479636192322, 0.013471174985170364, -0.5511988401412964, 0.7688291668891907, 0.8284615874290466, -0.372821927070617...
api/htmlelement/showpopover/index.md
API - HTMLElement - showPopover - Examples: The following example provides functionality to show a popover by pressing a particular key on the keyboard. First, some HTML: Example: <div id="mypopover" popover> <h2>Help!</h2> <p>You can use the following commands to control the app</p> <ul> <li>Press <ins...
[ -0.27193477749824524, -0.2978420555591583, -0.2720831036567688, 0.4199536442756653, -0.1737145185470581, -1.2912611961364746, 0.21936266124248505, 0.35485389828681946, 0.02857893705368042, 0.20874200761318207, -0.7443323731422424, 0.2288748323917389, 0.18664424121379852, 0.1548874825239181...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover: The `hidePopover()` method of the `HTMLElement` interface hides a popover element (i.e., one that has a valid `popover` attribute) by removing it from the `top layer` and styling it with `display: none`. When `hidePopover()` is called on a showing element with the `popover` attribute,...
[ 0.05990610644221306, -0.7176671028137207, -0.36424481868743896, 0.31082409620285034, 0.08586186170578003, -1.2254657745361328, 0.4640457034111023, 1.3973201513290405, -0.43963247537612915, 0.031759027391672134, -0.5059844255447388, 0.891217052936554, 0.4576978087425232, 0.5015146732330322,...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Syntax: Example: hidePopover()
[ -1.3585879802703857, -0.24998699128627777, 0.12614475190639496, -0.014399252831935883, -0.6637343764305115, -1.7229713201522827, 0.3500813841819763, 0.39670708775520325, -0.2889171242713928, -0.16612085700035095, -0.1476706713438034, 0.7309766411781311, -0.17988599836826324, 0.371886044740...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Syntax - Parameters: None.
[ -0.3261982202529907, 0.2095169574022293, 0.0018773861229419708, 0.1598263680934906, -0.5489622354507446, -0.7656927108764648, 0.8565539121627808, 0.6406975388526917, -0.29555290937423706, -0.4155735671520233, -0.4034547507762909, 0.37843945622444153, 0.020389992743730545, 0.519821763038635...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Syntax - Return value: None (`undefined`).
[ -0.8835431933403015, -0.1496993601322174, -0.12696224451065063, -0.11389291286468506, -0.5654715299606323, -0.7352631092071533, 0.4746991991996765, 0.15036126971244812, -0.4854619801044464, -0.035050470381975174, -0.23805151879787445, 0.5235625505447388, 0.05524095892906189, 0.743512809276...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Syntax - Exceptions: - `InvalidStateError` `DOMException`: Thrown if this method is called while another popover is already in the process of being shown or hidden (e.g., within a `beforetoggle` event listener).
[ -0.2634860575199127, -0.5178307890892029, -0.4737597405910492, 0.54413902759552, -0.19308482110500336, -1.5610072612762451, -0.1869289129972458, 1.0764741897583008, -0.5938632488250732, 0.036763645708560944, -0.9967544674873352, 0.47756427526474, 0.685662567615509, -0.2305145412683487, -...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Examples - Hiding a popover: The following example provides functionality to hide a popover by pressing a particular key on the keyboard.
[ -0.489960640668869, -0.09474903345108032, -0.16096778213977814, -0.0881066843867302, -0.5517977476119995, -1.1374597549438477, 0.6386107802391052, 0.7281343936920166, -0.4313720166683197, -0.0303022600710392, -0.3553774058818817, 0.4521706700325012, 0.10245738923549652, -0.1267143934965133...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Examples - Hiding a popover - HTML: Example: <button popovertarget="mypopover">Toggle popover's display</button> <div id="mypopover" popover="manual"> You can press <kbd>h</kbd> on your keyboard to close the popover. </div>
[ -0.8680383563041687, 0.1353803128004074, -0.09674572944641113, 0.28962016105651855, -0.28123679757118225, -1.1032788753509521, 0.5005177855491638, -0.17208760976791382, -0.15406781435012817, 0.3866044878959656, -0.9776486158370972, 0.6232699155807495, 0.5077939629554749, 0.1475366950035095...
api/htmlelement/hidepopover/index.md
API - HTMLElement - hidePopover - Examples - Hiding a popover - JavaScript: Example: const popover = document.getElementById("mypopover"); document.addEventListener("keydown", (event) => { if (event.key === "h") { popover.hidePopover(); } });
[ -0.5065235495567322, -0.11594442278146744, 0.20680487155914307, 0.27053725719451904, -0.5034416913986206, -0.9270980954170227, 0.20158250629901886, 0.32482674717903137, -0.7739919424057007, 0.27821317315101624, -0.8164414167404175, 0.5208790898323059, 0.09957656264305115, 0.374422997236251...
api/cssmathvalue/operator/index.md
API - CSSMathValue - operator: The `CSSMathValue.operator` read-only property of the `CSSMathValue` interface indicates the operator that the current subtype represents. For example, if the current `CSSMathValue` subtype is `CSSMathSum`, this property will return the string `"sum"`.
[ -0.3450847268104553, 0.3818531930446625, -0.5084612965583801, 0.1109543889760971, 0.47216349840164185, -1.9708954095840454, 0.19891542196273804, 0.15828365087509155, 1.3577086925506592, 0.07599098980426788, -0.5846747756004333, -0.09297358989715576, 1.30776047706604, -0.028651470318436623,...
api/cssmathvalue/operator/index.md
API - CSSMathValue - operator - Value: A `String`. - Interface: `CSSMathSum`, Value: `"sum"` - Interface: `CSSMathProduct`, Value: `"product"` - Interface: `CSSMathMin`, Value: `"min"` - Interface: `CSSMathMax`, Value: `"max"` - Interface: `CSSMathClamp`, Value: `"clamp"` - Interface: `CSSMathNegate`, Value: `"negate...
[ -0.36110371351242065, 0.3239927887916565, -0.10933003574609756, 0.18901854753494263, -0.04989750310778618, -1.0759146213531494, -0.12165254354476929, 0.3268887996673584, 0.4816077947616577, 0.3269069194793701, -0.3799534738063812, 0.02063561975955963, 0.8715497851371765, -0.163093775510787...
api/cssmathvalue/operator/index.md
API - CSSMathValue - operator - Examples - Basic usage: We create an element with a `width` determined using a `calc()` function, then `console.log()` the `operator`. Example: <div>My width has a <code>calc()</code> function</div> We assign a `width` with a calculation Example: div { width: calc(50% - 0.5vw); }...
[ -0.324518084526062, -0.022725429385900497, -1.108041524887085, -0.1262662410736084, -0.10883314907550812, -1.2400801181793213, 0.8649535775184631, 0.23683509230613708, 0.26573944091796875, 0.17214903235435486, -0.7338138818740845, -0.006846591830253601, 0.5882668495178223, -0.0548593215644...
api/xrequirectlayer/redraw_event/index.md
API - XREquirectLayer - redraw event: The `redraw` event is sent to the `XREquirectLayer` object when the underlying resources of the layer are lost or when the XR Compositor can no longer reproject the layer. If this event is sent, authors should redraw the content of the layer in the next XR animation frame. See al...
[ -0.637300968170166, -0.35908088088035583, -0.23227626085281372, 0.06721921265125275, 0.31908556818962097, -1.0312438011169434, 0.5725250840187073, 1.5780620574951172, -0.5953491926193237, -0.062310293316841125, 0.027654524892568588, 0.6491737365722656, 0.030598755925893784, 0.9737331867218...
api/xrequirectlayer/redraw_event/index.md
API - XREquirectLayer - redraw event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("redraw", (event) => { }) onredraw = (event) => { }
[ -0.48363643884658813, -0.4476434886455536, -0.04564083367586136, 0.18397633731365204, 0.05017434060573578, -0.9892615079879761, 0.2991037666797638, 0.48642027378082275, -0.27237460017204285, 0.1230209618806839, -0.6372874975204468, 0.1244928389787674, 0.0924425944685936, 0.1720605790615081...
api/xrequirectlayer/redraw_event/index.md
API - XREquirectLayer - redraw event - Event type: An `XRLayerEvent`. Inherits from `Event`.
[ -0.9227524399757385, -0.25293105840682983, 0.304759681224823, 0.02016150951385498, -0.41315484046936035, -1.017105221748352, 0.1742270141839981, 0.5695849061012268, -0.2977614402770996, 0.25006112456321716, -0.1348762810230255, 0.4842873811721802, 0.20162849128246307, 0.22665774822235107, ...
api/xrequirectlayer/redraw_event/index.md
API - XREquirectLayer - redraw event - Examples - Using the `redraw` event: You can pass `redraw` to `addEventListener()`: Example: equirectLayer.addEventListener("redraw", (event) => { // redraw the layer }); Alternatively, you can use the `onredraw` event handler property to establish a handler for the `redraw`...
[ -1.0275938510894775, -0.30969977378845215, -0.09394290298223495, 0.6591047644615173, -0.005828537046909332, -1.44138765335083, 0.1998290717601776, 0.8007837533950806, -0.12420132756233215, 0.2885771095752716, -0.3620162606239319, 0.6043590903282166, 0.21663013100624084, 0.4090389311313629,...
api/csstransformvalue/index.md
API - CSSTransformValue: The `CSSTransformValue` interface of the CSS Typed Object Model API represents `transform-list` values as used by the CSS `transform` property.
[ -0.5064675211906433, -0.45265400409698486, -0.0621744766831398, 0.589794397354126, -0.0538727343082428, -2.133821725845337, -0.00582476519048214, 0.21244753897190094, 1.309044599533081, 0.47330430150032043, -0.3433631956577301, -0.1467781364917755, 1.5136990547180176, 0.1768244355916977, ...
api/csstransformvalue/index.md
API - CSSTransformValue - Interfaces based on CSSTransformValue: Below is a list of interfaces based on the `CSSTransformValue` interface. - `CSSTranslate` - `CSSRotate` - `CSSScale` - `CSSSkew` - `CSSSkewX` - `CSSSkewY` - `CSSPerspective` - `CSSMatrixComponent`
[ -0.11207973957061768, -0.35940808057785034, -0.584320068359375, 0.53120356798172, 0.09411104023456573, -2.3171823024749756, 0.6339941620826721, 0.25503382086753845, 0.5944046378135681, 0.35567721724510193, 0.16810646653175354, 0.16018055379390717, 0.7621853351593018, 0.10741901397705078, ...
api/csstransformvalue/index.md
API - CSSTransformValue - Constructor: - `CSSTransformValue()`: Creates a new `CSSTransformValue` object.
[ -0.8590428829193115, 0.5919767618179321, 0.032489147037267685, 0.31154564023017883, -0.12242148816585541, -2.12744402885437, 0.24624019861221313, 0.7368982434272766, -0.5016964673995972, 0.16775238513946533, 0.21060560643672943, -0.07525937259197235, 0.5456627607345581, 0.2736218273639679,...
api/csstransformvalue/index.md
API - CSSTransformValue - Instance properties: - `CSSTransformValue.length` (read only): Returns how many transform components are contained within the `CSSTransformValue`. - `CSSTransformValue.is2D` (read only): Returns a boolean indicating whether the transform is 2D or 3D.
[ -0.9333767294883728, 0.6105210781097412, -0.45890337228775024, 0.6365786790847778, -0.3573684096336365, -1.4833911657333374, 0.6953702569007874, 0.09033923596143723, -0.13585421442985535, -0.05542415380477905, -0.2541288733482361, 0.16655482351779938, 0.9241948127746582, 0.0192353427410125...
api/csstransformvalue/index.md
API - CSSTransformValue - Instance methods: Inherits methods from its ancestor `CSSStyleValue`. - `CSSTransformValue.toMatrix()`: Returns a new `DOMMatrix` object. - `CSSTransformValue.entries()`: Returns an array of a given object's own enumerable property `[key, value]` pairs in the same order as that provided by a...
[ -0.0067877499386668205, -0.12774938344955444, -0.5713688135147095, 0.6972446441650391, 0.19967138767242432, -1.903459072113037, 0.9244507551193237, 0.635686457157135, -0.16330267488956451, 0.26254311203956604, -0.009328573942184448, 0.30196747183799744, 0.5936543941497803, 0.20311340689659...
api/csstransformvalue/index.md
API - CSSTransformValue - Examples: To Do.
[ -0.6968505382537842, 0.4949887990951538, -0.6636260151863098, 0.07411829382181168, -0.8706152439117432, -0.591492235660553, 0.8974820971488953, 1.0517791509628296, -0.03594657778739929, 0.35910332202911377, 1.148939847946167, -0.5093315839767456, -0.08460011333227158, 0.05042343586683273, ...
api/csstransformvalue/length/index.md
API - CSSTransformValue - length: The read-only `length` property of the `CSSTransformValue` interface returns the number of transform components in the list.
[ 0.14005924761295319, 0.5988466739654541, -0.4415057897567749, -0.043464165180921555, -0.0812225192785263, -1.7115181684494019, 0.7626644372940063, 0.8208573460578918, 0.08516237139701843, 0.024391066282987595, 0.20060811936855316, -0.04176769405603409, 0.4207766652107239, 0.524451494216919...
api/csstransformvalue/length/index.md
API - CSSTransformValue - length - Value: An integer representing the number of transform components in the list.
[ -0.6460984349250793, 0.36635974049568176, -0.9182025194168091, -0.13744038343429565, -0.043992653489112854, -1.9472665786743164, 0.7820543646812439, -0.017146620899438858, -0.5409237146377563, 0.3001498878002167, 0.1984601765871048, -0.2921770215034485, 0.17549340426921844, 0.3721062541007...
api/csstransformvalue/length/index.md
API - CSSTransformValue - length - Examples: To Do
[ -0.7585972547531128, 0.579336941242218, -0.9396546483039856, -0.09844234585762024, -0.9900859594345093, -0.49999529123306274, 0.46629798412323, 0.8348131775856018, -0.7997649908065796, 0.2168705314397812, 0.8465672135353088, -0.36513471603393555, 0.08074288815259933, -0.008204646408557892,...
api/csstransformvalue/entries/index.md
API - CSSTransformValue - entries: The `CSSTransformValue.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.2616192102432251, -0.23011545836925507, -0.7148400545120239, 0.9056460857391357, 0.06062430143356323, -2.473663568496704, 0.80632483959198, 0.8225845694541931, -0.07151351869106293, 0.4273388385772705, -0.02180257812142372, 0.3777375817298889, 0.7790648341178894, 0.43448081612586975, ...
api/csstransformvalue/entries/index.md
API - CSSTransformValue - entries - Syntax: Example: entries(obj)
[ -0.5580336451530457, 0.12597273290157318, -0.7466235756874084, 0.0005248710513114929, 0.03248584270477295, -2.196368932723999, 0.24776071310043335, 0.08890262246131897, 0.004211239516735077, 0.35231661796569824, 0.5679366588592529, -0.06611303240060806, 0.7615057826042175, 0.20767387747764...
api/csstransformvalue/entries/index.md
API - CSSTransformValue - entries - Syntax - Parameters: - `obj`: The `CSSTransformValue` whose enumerable own property `[key, value]` pairs are to be returned.
[ -0.7223628163337708, 0.06704341620206833, -0.861838161945343, 0.264327734708786, 0.1155901551246643, -1.6661162376403809, 0.3690422475337982, -0.14126966893672943, 0.3429696559906006, -0.095273956656456, 0.015341222286224365, 0.3878675699234009, 1.039947509765625, 0.3019767701625824, 0.1...
api/csstransformvalue/entries/index.md
API - CSSTransformValue - entries - Syntax - Return value: An array of the given `CSSTransformValue` object's own enumerable property `[key, value]` pairs.
[ -0.19875507056713104, 0.06825436651706696, -0.4605804979801178, 0.52949458360672, -0.14911645650863647, -2.3418939113616943, 0.5344482660293579, 0.668472170829773, -0.6112144589424133, 0.26976341009140015, 0.053893327713012695, 0.5299962162971497, 0.21998828649520874, 0.2886052131652832, ...
api/csstransformvalue/entries/index.md
API - CSSTransformValue - entries - Examples: To Do
[ -0.012065066955983639, 0.4088010787963867, -0.8378090858459473, 0.2918889820575714, -0.9152618646621704, -0.9186516404151917, 0.8877270221710205, 1.0203946828842163, -0.0892094150185585, 0.32536259293556213, 1.2011113166809082, -0.9121553897857666, 0.2425280213356018, 0.06758522987365723, ...
api/csstransformvalue/csstransformvalue/index.md
API - CSSTransformValue: The `CSSTransformValue()` constructor creates a new `CSSTransformValue` object which represents a list of individual transform objects.
[ -0.4598983824253082, 0.017765440046787262, -0.3144325911998749, 0.4397861957550049, 0.1366288661956787, -2.0719971656799316, 0.24059927463531494, 0.9491478800773621, -0.37496301531791687, 0.4812970757484436, 0.25158047676086426, 0.06265756487846375, 0.2687923312187195, 0.36087653040885925,...
api/csstransformvalue/csstransformvalue/index.md
API - CSSTransformValue - Syntax: Example: new CSSTransformValue(transforms)
[ -0.5005782842636108, 0.014853065833449364, -0.23670528829097748, -0.07194492965936661, -0.1547522395849228, -2.557631492614746, 0.05533146858215332, 0.8443579077720642, 0.1228473037481308, 0.03509271889925003, 0.43035781383514404, 0.022837214171886444, 0.36653169989585876, 0.48213249444961...
api/csstransformvalue/csstransformvalue/index.md
API - CSSTransformValue - Syntax - Parameters: - `transforms`: A list of `CSSTransformComponent` objects to iterate over.
[ 0.004062006715685129, 0.2680203914642334, -0.23473262786865234, 0.5783218741416931, 0.03682206571102142, -2.339012622833252, 0.3689052164554596, 0.566196620464325, -0.2655397653579712, 0.12887658178806305, -0.02091590315103531, -0.29966890811920166, 0.43436339497566223, 0.6636731028556824,...
api/csstransformvalue/csstransformvalue/index.md
API - CSSTransformValue - Syntax - Return value: A new `CSSTransformValue`.
[ -0.22651532292366028, 0.34158721566200256, -0.5466424226760864, 0.1959172785282135, -0.3269239664077759, -1.6848787069320679, 0.36476126313209534, 0.42231354117393494, -0.3270854949951172, 0.19286276400089264, 0.41532304883003235, 0.008513666689395905, 0.7944449186325073, 0.603470623493194...
api/csstransformvalue/csstransformvalue/index.md
API - CSSTransformValue - Syntax - Exceptions: - `TypeError`: Raised if transforms is empty.
[ -0.8033280968666077, 0.2851136326789856, -0.5282822847366333, -0.3043454587459564, -0.16224217414855957, -1.6950182914733887, 0.7846174240112305, 0.8167449831962585, -0.14155659079551697, 0.1725618690252304, 0.29179802536964417, -0.14395993947982788, 0.3131828010082245, 0.23082149028778076...
api/csstransformvalue/csstransformvalue/index.md
API - CSSTransformValue - Examples: To do
[ -0.8001194000244141, 0.8081254363059998, -0.4192434251308441, 0.0780026912689209, -0.8984237313270569, -0.6020721793174744, 0.5762403011322021, 1.2985084056854248, -0.1566082388162613, 0.3398769199848175, 1.260569453239441, -0.3989015519618988, -0.07555624842643738, -0.14115944504737854, ...
api/csstransformvalue/tomatrix/index.md
API - CSSTransformValue - toMatrix: The `toMatrix()` method of the `CSSTransformValue` interface returns a `DOMMatrix` object.
[ -0.4656163454055786, -0.38444679975509644, -0.262471079826355, 0.3831281363964081, -0.04090617597103119, -2.1062660217285156, 0.8496664762496948, 0.27912408113479614, -0.09804268181324005, 0.6359916925430298, -0.23938192427158356, 0.30428797006607056, 0.8973414301872253, -0.082955382764339...
api/csstransformvalue/tomatrix/index.md
API - CSSTransformValue - toMatrix - Syntax: Example: toMatrix()
[ -0.4598407745361328, 0.06582289189100266, -0.3218141496181488, 0.14384262263774872, -0.27263131737709045, -2.160728931427002, 0.7883840203285217, 0.6031973958015442, -0.28307896852493286, 0.10209043323993683, 0.26285046339035034, 0.3652406334877014, 0.18233001232147217, 0.2737247943878174,...
api/csstransformvalue/tomatrix/index.md
API - CSSTransformValue - toMatrix - Syntax - Parameters: None.
[ -0.3644888699054718, 0.6337834000587463, -0.28884515166282654, 0.3258064389228821, -0.17894673347473145, -1.717046856880188, 1.3502146005630493, 0.6789910197257996, -0.3630858063697815, 0.07139857113361359, -0.32684528827667236, -0.11051124334335327, 0.505388617515564, 0.27476879954338074,...
api/csstransformvalue/tomatrix/index.md
API - CSSTransformValue - toMatrix - Syntax - Return value: A `DOMMatrix` object.
[ -0.13150985538959503, 0.317574679851532, -0.10709353536367416, 0.17821131646633148, -0.20386940240859985, -2.129918336868286, 1.2860321998596191, 0.24418622255325317, -0.5718833208084106, 1.010251522064209, -0.002210928127169609, 0.4940985441207886, 0.2873668968677521, -0.4114592969417572,...
api/csstransformvalue/tomatrix/index.md
API - CSSTransformValue - toMatrix - Syntax - Exceptions: - `TypeError`: Raised if any lengths involved in generating the matrix are not compatible units with px (such as relative lengths or percentages).
[ -0.668243944644928, -0.28831201791763306, -0.8001315593719482, 0.917701780796051, -0.25832778215408325, -2.137211799621582, 0.7311612367630005, 0.6429820656776428, -0.17992618680000305, 0.2736932933330536, -0.2741827368736267, 0.4606526494026184, 0.2011452615261078, -0.32409048080444336, ...
api/csstransformvalue/tomatrix/index.md
API - CSSTransformValue - toMatrix - Examples: To Do
[ -0.868237316608429, 0.7291205525398254, -0.17661067843437195, 0.3528497815132141, 0.02097395807504654, -1.3230334520339966, 0.857096791267395, 0.011918559670448303, -0.6137964725494385, 0.4916812777519226, 0.4294050633907318, 0.11346133053302765, 0.4557492733001709, 0.03935776650905609, ...
api/csstransformvalue/is2d/index.md
API - CSSTransformValue - is2D: The read-only `is2D` property of the `CSSTransformValue` interface returns whether the transform is 2D or 3D. In the case of the `CSSTransformValue`, this property returns true unless any of the individual functions return false for `Is2D`, in which case, it returns false.
[ -0.7640013694763184, 0.27825218439102173, -0.30104365944862366, 0.3594101667404175, 0.13907623291015625, -1.4082218408584595, 0.7885131239891052, 0.7234936356544495, -0.014571666717529297, 0.07461775839328766, -0.2529730200767517, 0.06715941429138184, 1.0365275144577026, 0.0436697900295257...
api/csstransformvalue/is2d/index.md
API - CSSTransformValue - is2D - Value: A boolean. True indicates that the transform is a 2D transform, false that it is a 3D transform.
[ -1.78602135181427, -0.10215146094560623, -0.9092531800270081, 0.29146572947502136, -0.4297097623348236, -1.312565803527832, 0.24414250254631042, 1.4476439952850342, -0.26386645436286926, -0.28593364357948303, -0.4238618314266205, -0.3656259775161743, 1.2377606630325317, -0.2674008011817932...
api/csstransformvalue/is2d/index.md
API - CSSTransformValue - is2D - Examples: To Do
[ -1.4533052444458008, 0.8382720351219177, 0.3333130180835724, -0.15665143728256226, -0.023717910051345825, -0.9311617016792297, 0.3466799557209015, -0.24564340710639954, -0.8433274626731873, 0.06272482872009277, 0.38723671436309814, -0.11813859641551971, 0.47595739364624023, 0.1356177031993...
api/csstransformvalue/foreach/index.md
API - CSSTransformValue - forEach: The `CSSTransformValue.forEach()` method executes a provided function once for each element of the `CSSTransformValue`.
[ -0.6552629470825195, -0.049793925136327744, -0.46262237429618835, 0.16202741861343384, -0.059454239904880524, -2.0711426734924316, 0.9588515758514404, 0.7800787091255188, -0.6676297187805176, 0.20826898515224457, 0.33406561613082886, -0.03544546663761139, 0.37457460165023804, 0.45100700855...
api/csstransformvalue/foreach/index.md
API - CSSTransformValue - forEach - Syntax: Example: forEach(callbackFn) forEach(callbackFn, thisArg)
[ -0.622179388999939, 0.6292756795883179, -0.29824408888816833, -0.4538441598415375, -0.6425673365592957, -2.015540838241577, 1.421160101890564, 1.2440837621688843, -0.43713268637657166, -0.005002543330192566, 0.8497812747955322, -0.01280849426984787, -0.08196474611759186, 0.689805805683136,...
api/csstransformvalue/foreach/index.md
API - CSSTransformValue - 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 `CSSTran...
[ -0.6273419857025146, -0.311296284198761, -0.331996351480484, 0.5286419987678528, 0.04743832349777222, -1.8829436302185059, 1.2621667385101318, 0.17036426067352295, -0.15119078755378723, 0.2840895652770996, -0.13175521790981293, 0.21595236659049988, 0.31812331080436707, 0.7104160189628601, ...
api/csstransformvalue/foreach/index.md
API - CSSTransformValue - forEach - Syntax - Return value: None (`undefined`).
[ -0.7309328317642212, 0.6281149983406067, -0.3942953646183014, -0.5071413516998291, -0.05271757021546364, -1.8484750986099243, 0.36859843134880066, 0.10570649802684784, -0.9214937090873718, 0.4005033075809479, 0.6151942610740662, 0.3245166540145874, 0.5840392708778381, 0.7555354237556458, ...
api/csstransformvalue/foreach/index.md
API - CSSTransformValue - forEach - Examples: To Do
[ -0.34810304641723633, 0.5461710691452026, -0.42212194204330444, -0.5193253755569458, -0.7695871591567993, -0.8463159799575806, 1.162718415260315, 1.0824825763702393, -0.24631169438362122, 0.31513187289237976, 1.2276623249053955, -0.43045803904533386, 0.010086748749017715, 0.035503149032592...
api/csstransformvalue/keys/index.md
API - CSSTransformValue - keys: The `CSSTransformValue.keys()` method returns a new array iterator object that contains the keys for each index in the array.
[ -0.9003562331199646, -0.41829386353492737, -0.6211847066879272, 0.3472297191619873, 0.16723600029945374, -1.5584752559661865, 0.5190457105636597, 0.49352091550827026, -0.4858686029911041, 0.4684681296348572, 0.2995089292526245, 0.1556127667427063, 0.42509159445762634, 0.381501704454422, ...
api/csstransformvalue/keys/index.md
API - CSSTransformValue - keys - Syntax: Example: keys()
[ -0.7114713191986084, 0.10334669798612595, -0.79135662317276, -0.053375136107206345, -0.1760404407978058, -2.0437333583831787, 0.7887940406799316, 0.0990714430809021, -0.5479916930198669, 0.3565172851085663, 0.7064455151557922, 0.35546404123306274, 0.04892808943986893, 0.362087219953537, ...
api/csstransformvalue/keys/index.md
API - CSSTransformValue - keys - Syntax - Parameters: None.
[ -0.37133052945137024, 0.6917799115180969, -0.6587474346160889, -0.02934667095541954, 0.022914215922355652, -1.5000768899917603, 0.7607996463775635, 0.2200082391500473, -0.8195313811302185, 0.12232886999845505, 0.35822591185569763, -0.24124403297901154, 0.5520679354667664, 0.528498828411102...
api/csstransformvalue/keys/index.md
API - CSSTransformValue - keys - Syntax - Return value: A new `Array`.
[ -0.3500542938709259, 0.15117360651493073, -0.8598792552947998, 0.08642169833183289, -0.08560676127672195, -1.8399016857147217, 0.7314111590385437, 0.3859604299068451, -0.4494439959526062, 0.5536196827888489, 0.618760347366333, -0.007936753332614899, 0.7127842903137207, 0.638236403465271, ...
api/csstransformvalue/keys/index.md
API - CSSTransformValue - keys - Examples: To Do
[ -0.3603108823299408, 0.7623887658119202, -0.8915477395057678, 0.09174157679080963, -0.8589783906936646, -0.5822746157646179, 0.7949995398521423, 1.258208155632019, -0.43921053409576416, 0.24902300536632538, 1.2846736907958984, -0.4785282015800476, -0.18620172142982483, 0.19686585664749146,...
api/csstransformvalue/values/index.md
API - CSSTransformValue - values: The `CSSTransformValue.values()` returns a new array iterator object that contains the values for each index in the `CSSTransformValue` object.
[ -1.0196689367294312, -0.10631030797958374, -0.5516371726989746, 0.27289941906929016, 0.2892201244831085, -1.6203536987304688, 0.283575177192688, 0.3839278519153595, 0.0017830803990364075, -0.050448939204216, 0.4225538671016693, 0.056618012487888336, 0.8977926969528198, 0.13889187574386597,...
api/csstransformvalue/values/index.md
API - CSSTransformValue - values - Syntax: Example: values()
[ -0.659673273563385, -0.11086712777614594, -0.7188512086868286, -0.5150490403175354, -0.0980089083313942, -2.490023136138916, -0.031925495713949203, 0.14493225514888763, -0.35761919617652893, 0.18782611191272736, 0.5190945863723755, 0.1124650239944458, 0.8792242407798767, 0.3541910350322723...
api/csstransformvalue/values/index.md
API - CSSTransformValue - values - Syntax - Parameters: None.
[ -0.2266503870487213, 0.7567316889762878, -0.9142876267433167, -0.07806968688964844, 0.010731592774391174, -1.733568787574768, 0.8468112945556641, 0.683388352394104, -0.6794739365577698, 0.07559233903884888, 0.12696944177150726, -0.01474134624004364, 0.7107609510421753, 0.5515117049217224, ...
api/csstransformvalue/values/index.md
API - CSSTransformValue - values - Syntax - Return value: A new `Array`.
[ -0.6269991397857666, 0.16422921419143677, -0.8865829110145569, -0.1981910765171051, -0.16108523309230804, -1.5826771259307861, 0.18697093427181244, 0.37736275792121887, 0.11194267868995667, 0.4250246584415436, 0.6358014941215515, -0.07089938223361969, 1.0225621461868286, 0.6392890214920044...
api/csstransformvalue/values/index.md
API - CSSTransformValue - values - Examples: To Do
[ -1.120736002922058, 0.4023968279361725, -0.29923832416534424, -0.23450049757957458, -0.2930182218551636, -0.9438574314117432, -0.037138719111680984, -0.09044646471738815, -0.704919695854187, 0.05889616534113884, 0.8310573697090149, -0.29091721773147583, 1.0115066766738892, 0.24177217483520...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. The Web Periodic Background Synchronization API provides a way to register tasks to be run in a `service worker` at periodic intervals with netw...
[ -0.012092840857803822, -0.0923427864909172, -0.4631241261959076, 0.47118330001831055, 0.26074492931365967, -1.055181622505188, 0.3442058861255646, 1.4580318927764893, -0.055586837232112885, 0.3545474112033844, -0.6895658373832703, 0.8308796882629395, 0.8303991556167603, 0.08624178171157837...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Concepts and Usage: The Periodic Background Sync API allows web applications to alert their service worker to make any updates, at a periodic time interval. Uses may include fetching latest content while a device is connected to Wi-Fi, or allowing background updates ...
[ 0.2987894117832184, 0.27440911531448364, -0.7751089930534363, 0.09244363009929657, 0.36138054728507996, -1.3034579753875732, 0.4463789463043213, 1.4299283027648926, -0.2710058093070984, 0.3137441873550415, -0.346061646938324, 0.6108266711235046, 0.11010541021823883, 0.5298947095870972, -...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Interfaces: - `PeriodicSyncManager` (experimental): Registers tasks to be run in a service worker at periodic intervals with network connectivity. These tasks are referred to as periodic background sync requests. - `PeriodicSyncEvent` (experimental): Represents a syn...
[ -0.6777122020721436, -0.1849684715270996, -0.2534753382205963, 0.14009533822536469, -0.07712110877037048, -0.8704882264137268, -0.23763811588287354, 0.34043627977371216, 0.7452549338340759, 0.31368541717529297, -1.4640676975250244, 0.20500952005386353, 0.7101619839668274, 0.118238076567649...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Interfaces - Extensions to other interfaces: The following additions to the `Service Worker API` are specified in the Periodic Background Sync specification to provide an entry point for using Periodic Background Sync. - `ServiceWorkerRegistration.periodicSync` (rea...
[ 0.39138224720954895, -0.33651092648506165, -0.7996010780334473, 0.9114330410957336, 0.060311973094940186, -0.9643469452857971, 0.24061569571495056, 1.3510768413543701, 0.33627137541770935, 0.5492938160896301, -0.4314490556716919, 0.3305581510066986, 0.9024516940116882, 0.13144631683826447,...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Examples: The following examples show how to use the interface.
[ -0.5858181118965149, -0.15936638414859772, -0.13494345545768738, 0.16700850427150726, -0.530463457107544, -1.319413185119629, 0.6093993782997131, 0.5601394772529602, 1.1424387693405151, -0.22265571355819702, -0.6051729321479797, 0.6077103614807129, 0.7442502379417419, 0.22694137692451477, ...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Examples - Requesting a Periodic Background Sync: The following asynchronous function registers a periodic background sync at a minimum interval of one day from a browsing context: Example: async function registerPeriodicNewsCheck() { const registration = await n...
[ -0.4702973961830139, -0.2851499915122986, -0.1714933067560196, 0.5411199927330017, -0.32637155055999756, -1.341737151145935, -0.2253568470478058, 0.5759013295173645, 0.37980982661247253, 0.25519654154777527, -0.7282964587211609, 0.045773737132549286, 0.7030506730079651, 0.1820875108242035,...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Examples - Verifying a Background Periodic Sync by Tag: This code checks to see if a Periodic Background Sync task with a given tag is registered. Example: navigator.serviceWorker.ready.then((registration) => { registration.periodicSync.getTags().then((tags) => {...
[ -0.7890028953552246, -0.5690032839775085, -0.4255179166793823, 0.3889444172382355, -0.14868730306625366, -1.2736222743988037, -0.038371771574020386, 0.8186706304550171, -0.10849041491746902, 0.06087218597531319, -0.599845826625824, -0.19125543534755707, 0.7154508829116821, 0.29654985666275...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Examples - Removing a Periodic Background Sync Task: The following code removes a Periodic Background Sync task to stop articles syncing in the background. Example: navigator.serviceWorker.ready.then((registration) => { registration.periodicSync.unregister("get-l...
[ -0.7894555926322937, 0.06553902477025986, -0.38543930649757385, 0.08171703666448593, -0.08183255791664124, -1.2228806018829346, 0.09704972803592682, 0.7506363391876221, 0.6322808265686035, 0.46918079257011414, -1.2302212715148926, -0.2705526351928711, 0.3107141852378845, -0.120496258139610...
api/web_periodic_background_synchronization_api/index.md
API - Web Periodic Background Synchronization API - Examples - Listening for a Periodic Background Sync within a Service Worker: The following example shows how to respond to a periodic sync event in the service worker. Example: self.addEventListener("periodicsync", (event) => { if (event.tag === "get-latest-news"...
[ -0.3465622663497925, -0.12512816488742828, -0.3166519105434418, 0.3179592788219452, -0.050405628979206085, -1.2437236309051514, 0.09107523411512375, 0.695932149887085, 0.5586687326431274, 0.26077258586883545, -0.6884607672691345, -0.06548361480236053, 0.22332867980003357, 0.057538934051990...
api/htmltemplateelement/index.md
API - HTMLTemplateElement: The `HTMLTemplateElement` interface enables access to the contents of an HTML `template` element. Note: An HTML parser can create either an `HTMLTemplateElement` or a `ShadowRoot` when it parses a `template` element, depending on the `<template>` attributes. If an `HTMLTemplateElement` is c...
[ 0.15099984407424927, -0.6259255409240723, 0.11712893843650818, 1.122199296951294, 0.22925597429275513, -2.4040565490722656, 1.135855793952942, 0.2993053197860718, -0.18299847841262817, 0.32910463213920593, -0.3925900161266327, 0.7542896866798401, 0.044719427824020386, 0.5758045315742493, ...
api/htmltemplateelement/index.md
API - HTMLTemplateElement - Instance properties: This interface inherits the properties of `HTMLElement`. - `content` (read only): A read-only `DocumentFragment` which contains the DOM subtree representing the `template` element's template contents. - `shadowRootMode`: A string that reflects the value of the `shadowr...
[ 0.1579943746328354, -1.0179622173309326, 0.5830017328262329, 0.7200191020965576, -0.00550389289855957, -1.8519853353500366, 1.0530552864074707, 0.10951797664165497, 0.6737848520278931, 0.22979269921779633, -0.4690268337726593, 0.3797873258590698, -0.3679157793521881, 0.20530831813812256, ...
api/htmltemplateelement/index.md
API - HTMLTemplateElement - Instance methods: This interface inherits the methods of `HTMLElement`.
[ 0.12147411704063416, 0.06783042848110199, 0.28450313210487366, 0.1283474862575531, -0.20782282948493958, -2.031403064727783, 0.83655846118927, -0.15812186896800995, 0.3046334981918335, 0.005237971432507038, -0.47919657826423645, 0.4795379638671875, 0.473910927772522, 0.3859877288341522, ...
api/htmltemplateelement/shadowrootslotassignment/index.md
API - HTMLTemplateElement - shadowRootSlotAssignment: The `shadowRootSlotAssignment` property of the `HTMLTemplateElement` interface indicates whether the element has been configured to use named or unnamed slot assignment. This property can be used to detect support for the declarative attribute on the `template` el...
[ -0.2289319485425949, -0.6178575158119202, -0.18436968326568604, 0.9914087057113647, 0.231245756149292, -2.1441938877105713, 1.4929245710372925, 0.8304271101951599, 0.11671356856822968, -0.13459861278533936, 0.15759219229221344, 0.24589309096336365, 0.0575253963470459, 0.8089161515235901, ...
api/htmltemplateelement/shadowrootslotassignment/index.md
API - HTMLTemplateElement - shadowRootSlotAssignment - Value: A string that reflects the value of the `shadowrootslotassignment` attribute of the associated `<template>` element. Possible values are `"named"` and `"manual"`.
[ -0.9861187934875488, -0.6577467918395996, -0.03005256876349449, 0.2982232868671417, -0.08819446712732315, -2.342039108276367, 1.636924386024475, 0.7001465559005737, -0.34837737679481506, -0.43742284178733826, -0.40471842885017395, 0.5992786288261414, -0.1781836599111557, 0.5850396156311035...
api/htmltemplateelement/shadowrootslotassignment/index.md
API - HTMLTemplateElement - shadowRootSlotAssignment - Examples - Feature detection for `shadowrootslotassignment`: If you're declaratively creating shadow roots that rely on unnamed slot assignment, using `template` elements, you can use the existence of this property on the `HTMLTemplateElement` to feature check for...
[ 0.03304609656333923, -0.6229260563850403, -0.5100873112678528, 1.0682090520858765, 0.31783318519592285, -1.832011103630066, 1.5870341062545776, 0.8279093503952026, 0.021676018834114075, -0.06683546304702759, -0.10711804777383804, 0.6336793303489685, 0.07157804071903229, 0.8363075852394104,...
api/audioplaybackstats/index.md
API - AudioPlaybackStats: The `AudioPlaybackStats` interface of the Web Audio API provides access to duration, underrun, and latency statistics for the associated `AudioContext`. These statistics allow you to measure audio delay and glitches. An audio context's `AudioPlaybackStats` object can be accessed via its `Aud...
[ 0.06392136961221695, -0.5114989280700684, -0.2730928957462311, 0.942903995513916, -0.29566875100135803, -0.49155157804489136, 0.546742856502533, 0.6594071388244629, 0.514242947101593, 0.6468027234077454, -1.1099424362182617, -0.2010592818260193, 0.4641222059726715, 0.3000756800174713, 1....
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Description: In applications that play audio, it is beneficial to measure audio `latency` and underrun because both can contribute to a poor audio experience: - Audio latency: A measure of the delay between the user activating a control (such as a play button) and the audio playing as expec...
[ -0.0456307977437973, 0.22398030757904053, -1.2837415933609009, 0.3286895453929901, 0.24848335981369019, -1.0123862028121948, 0.6261206865310669, 1.0927406549453735, -0.49133604764938354, 0.031374819576740265, -0.7212111949920654, 0.13473860919475555, -0.41103827953338623, 0.316726624965667...
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Description - Underrun statistics provided by the interface: Underruns are defined in terms of underrun frames and underrun events: - Underrun frame: An audio frame, typically silence in the case of a web application, played by the output device when there is no actual audio data from the a...
[ 0.0917910560965538, -0.4363689124584198, -0.9917052388191223, 1.0453791618347168, -0.6738145351409912, -0.9692407846450806, 0.010793257504701614, 0.5972277522087097, 0.1396113634109497, 0.6665774583816528, -0.9755932688713074, 0.3905113935470581, -0.038401007652282715, 0.40464645624160767,...
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Description - Latency statistics provided by the interface: The audio context's latency can be measured using the `AudioPlaybackStats.averageLatency`, `AudioPlaybackStats.minimumLatency`, and `AudioPlaybackStats.maximumLatency` properties. It is possible to retrieve the immediate playout la...
[ 0.5483047366142273, 0.11293306946754456, -1.1271264553070068, 0.5481513142585754, 0.2112196683883667, 0.4981880187988281, 0.9626358151435852, 1.7984330654144287, 0.19873139262199402, 0.10516168922185898, -0.6522687077522278, 0.5979241728782654, 0.010455630719661713, 0.43357551097869873, ...
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Instance properties: - `AudioPlaybackStats.averageLatency` (read only) (experimental): A number indicating the average latency since the audio context was initialized or since `AudioPlaybackStats.resetLatency()` was last called. - `AudioPlaybackStats.minimumLatency` (read only) (experimental...
[ 0.630209743976593, -0.08929745107889175, -0.6482657790184021, 0.5584734082221985, -0.11221540719270706, -0.21130895614624023, 0.9479078650474548, 0.5948206782341003, 0.5523979067802429, 0.020742962136864662, -1.0650699138641357, 0.1748761683702469, -0.4534299075603485, 0.10659472644329071,...
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Instance methods: - `AudioPlaybackStats.resetLatency()` (experimental): Resets the start of the interval during which latency statistics are measured to the current time. - `AudioPlaybackStats.toJSON()` (experimental): A `serializer` that returns a JSON representation of the `AudioPlaybackSt...
[ -0.8247268199920654, 0.06996282190084457, -0.9950197339057922, 0.6351540088653564, 0.2590472102165222, -0.06511516869068146, 0.7370097637176514, 0.6413490772247314, 0.09149147570133209, 0.37831640243530273, -1.1943763494491577, 0.030370056629180908, 0.582399308681488, -0.25401178002357483,...
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Examples - Reporting audio playback stats: This example demonstrates how to report audio stats accessed via the `AudioPlaybackStats` object.
[ -0.49680063128471375, -0.038118425756692886, -1.0269615650177002, 0.5965762138366699, -0.6012375354766846, -0.48436418175697327, 0.6329787969589233, 0.6677037477493286, -0.24368315935134888, 0.1957765370607376, -0.36362576484680176, 0.22947388887405396, 0.2432178556919098, -0.0101528204977...
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Examples - Reporting audio playback stats - HTML: We include three `button` elements — one to start the audio playing, one to retrieve and display a set of stats, and one to run the `AudioPlaybackStats.resetLatency()` method. We also include a `ul` element inside which stats will be displaye...
[ 0.001668171607889235, 0.01296098344027996, -1.3564682006835938, 0.6161085367202759, -0.02610042691230774, -0.7501498460769653, 1.2814903259277344, 1.1333942413330078, -0.5749803185462952, 0.15491878986358643, -0.4746127426624298, 0.5006452798843384, 0.4578218460083008, 0.3336268365383148, ...