file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
api/transitionevent/transitionevent/index.md
API - TransitionEvent - Syntax - Return value: A new `TransitionEvent` object.
[ 0.1898099184036255, 0.021051589399576187, -0.35308781266212463, 0.11773301661014557, -0.3388567566871643, -1.3720306158065796, 0.23733901977539062, 1.0956333875656128, -0.585673987865448, 0.6268629431724548, 0.14456777274608612, 0.5386836528778076, -0.4763629734516144, 0.964908242225647, ...
api/htmliframeelement/browsingtopics/index.md
API - HTMLIFrameElement - browsingTopics: Non-standard: This feature is not standardized. Deprecated: This feature is no longer recommended. Warning: This feature is currently opposed by two browser vendors. See the Standards positions section for details of opposition. The `browsingTopics` property of the `HTMLIFra...
[ 0.4563404619693756, -0.35293179750442505, -0.38517075777053833, 0.14773029088974, 0.3601226806640625, -1.4692625999450684, 0.20047128200531006, 0.48989343643188477, -0.3860815167427063, -0.15908463299274445, -0.7768704891204834, 0.7226464748382568, 0.63462233543396, 0.522655189037323, -0...
api/htmliframeelement/browsingtopics/index.md
API - HTMLIFrameElement - browsingTopics - Value: A boolean. The default value is `false`; set it to `true` to send the associated `<iframe>` source request with a `Sec-Browsing-Topics` header containing the selected topics for the current user.
[ -0.4191416800022125, -0.3327481150627136, -0.028839850798249245, 0.5567293763160706, -0.006382301449775696, -1.5893690586090088, 0.5363993048667908, 0.2031310498714447, -0.41361096501350403, -0.42647331953048706, -0.6634905338287354, 0.5259740948677063, 0.743815004825592, 0.407534301280975...
api/htmliframeelement/browsingtopics/index.md
API - HTMLIFrameElement - browsingTopics - Examples - Get: Set `browsingtopics` to `true` then load the `<iframe>` contents declaratively: Example: <iframe browsingtopics title="Advertising container" src="ad-tech1.example"> ... </iframe> Log the `browsingTopics` value via script: Example: const iframeElem = do...
[ -0.7018043398857117, -0.6134413480758667, 0.47786253690719604, 0.09569202363491058, -0.2116938829421997, -1.2389578819274902, 0.183939591050148, 0.8272716999053955, -0.592081606388092, 0.2194347232580185, -0.7727184891700745, 0.44811344146728516, 0.2882727086544037, 0.32364538311958313, ...
api/htmliframeelement/browsingtopics/index.md
API - HTMLIFrameElement - browsingTopics - Examples - Set: Specify a minimum `<iframe>`: Example: <iframe> ... </iframe> Set `browsingtopics` to `true` then load the `<iframe>` contents via script: Example: const iframeElem = document.querySelector("iframe"); iframeElem.browsingTopics = true; iframeElem.title = ...
[ -0.8350487351417542, -0.4528414309024811, 0.7730550169944763, 0.22079548239707947, -0.31896913051605225, -1.173665165901184, -0.18805161118507385, 0.3058047294616699, -0.31794798374176025, 0.41131433844566345, -0.8492048382759094, 0.31760287284851074, 0.05520094186067581, 0.376055002212524...
api/cookiestore/get/index.md
API - CookieStore - get: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. The `get()` method of the `CookieStore` interface returns a `Promise` that resolves to a single cookie matching the given `name` or `options` object. The method will retu...
[ -0.11554854363203049, 0.014123115688562393, -0.4605601727962494, -0.055220767855644226, 0.2500528395175934, -0.42972704768180847, 0.04475279152393341, 1.5819249153137207, -0.5823951363563538, 0.1101057231426239, 0.7970041036605835, 0.6904801726341248, 0.1727716028690338, 0.1950835585594177...
api/cookiestore/get/index.md
API - CookieStore - get - Syntax: Example: get(name) get(options)
[ -0.45422643423080444, -0.687958836555481, -0.11698321253061295, -0.14431598782539368, -0.4427926540374756, -1.5419120788574219, 0.12062530219554901, 0.4640972316265106, -0.29854947328567505, -0.05120861530303955, 0.2969721555709839, -0.14018407464027405, -0.3437136709690094, 0.399546712636...
api/cookiestore/get/index.md
API - CookieStore - get - Syntax - Parameters: This method requires one of the following: - `name` (optional): A string with the name of a cookie. Or - `options` (optional): An object containing: - `name`: A string with the name of a cookie. - `url`: A string with the URL of a cookie. Note: The `url` option en...
[ -0.6392288208007812, -0.3852216303348541, -0.3963848948478699, 0.18151535093784332, -0.024210944771766663, -0.8147718906402588, 0.6918346881866455, 0.4713386297225952, -0.30802902579307556, 0.1283472776412964, 0.391530841588974, 0.22335433959960938, 0.29782381653785706, 0.0886533111333847,...
api/cookiestore/get/index.md
API - CookieStore - get - Syntax - Return value: A `Promise` that resolves with an object representing the first cookie matching the submitted `name` or `options`, or `null` if there is no matching cookie. The object returned for a match contains the following properties: - `domain` (experimental) (non-standard): A ...
[ -0.43378332257270813, -0.2205522656440735, 0.05226697772741318, 0.4023359417915344, 0.4929499626159668, -1.1242414712905884, 0.5174239277839661, 1.2796077728271484, -0.7930122017860413, 0.25972676277160645, 0.0653805136680603, 0.8328096866607666, -0.1894259750843048, 0.6115080118179321, ...
api/cookiestore/get/index.md
API - CookieStore - get - Syntax - Exceptions: - `SecurityError` `DOMException`: Thrown if the origin does not `serialize` to a URL. - `TypeError`: Thrown if: - The `options` parameter is an empty object. - The method is called in the main thread, and the `url` option is specified but does not match the URL of the...
[ -0.5562875866889954, -0.637153685092926, -0.12240754812955856, 0.612511157989502, -0.6272903084754944, -1.2527424097061157, -0.199582040309906, 1.0975137948989868, 0.019292660057544708, 0.24255575239658356, 0.026367157697677612, 0.26680460572242737, 0.40045875310897827, -0.2683374583721161...
api/cookiestore/get/index.md
API - CookieStore - get - Examples - Getting a cookie by name: This example shows how to get a particular cookie by name. The code first creates a cookie named "cookie1" using `CookieStore.set()`, logging any errors to the console. It then waits on `get()` to retrieve information about that same cookie. If the return...
[ 0.22530497610569, -0.16461209952831268, -0.40294918417930603, -0.025794271379709244, -0.09250390529632568, -0.947479784488678, 0.300429105758667, 0.8835543394088745, -0.20919720828533173, 0.23864249885082245, 0.4590874910354614, -0.16775023937225342, -0.7697493433952332, 0.3215416669845581...
api/cookiestore/delete/index.md
API - CookieStore - delete: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. The `delete()` method of the `CookieStore` interface deletes a cookie that matches the given `name` or `options` object. The method expires the cookie by changing its ...
[ -0.25105050206184387, -0.1204395592212677, -0.3150842487812042, 0.22572627663612366, 0.394964337348938, -0.32359445095062256, 0.05246320366859436, 1.558475136756897, -0.17654168605804443, 0.2366511970758438, 0.47424566745758057, 0.5007009506225586, 0.06438876688480377, 0.1451926976442337, ...
api/cookiestore/delete/index.md
API - CookieStore - delete - Syntax: Example: delete(name) delete(options)
[ -0.952714204788208, -0.7022234797477722, 0.45035427808761597, -0.6565369367599487, -0.5425481796264648, -0.7114337086677551, 0.10964590311050415, 0.04519812762737274, 0.007523655891418457, -0.33376193046569824, 0.6066106557846069, -0.4632854163646698, 0.19071562588214874, 0.564686596393585...
api/cookiestore/delete/index.md
API - CookieStore - delete - Syntax - Parameters: This method requires one of the following: - `name` (optional): A string with the name of a cookie. Or - `options` (optional): An object containing: - `name`: A string with the name of a cookie. - `domain` (optional): A string with the domain of a cookie. Defaul...
[ -0.9771541953086853, -0.44676855206489563, -0.30848243832588196, 0.5912417769432068, 0.18016240000724792, -0.5358094573020935, 0.8130318522453308, 0.876340925693512, 0.08131249248981476, 0.4427197277545929, 0.14895598590373993, -0.24078871309757233, 0.4766603112220764, 0.34886986017227173,...
api/cookiestore/delete/index.md
API - CookieStore - delete - Syntax - Return value: A `Promise` that resolves with `undefined` when the deletion operation completes or no cookie is matched.
[ -0.355895459651947, 0.16129188239574432, -0.17406737804412842, -0.2338535338640213, -0.057249583303928375, -0.9134640693664551, -0.08738208562135696, 0.7182660698890686, -0.5399712920188904, 0.5040546655654907, 0.2732776403427124, 0.16052468121051788, 0.3168417811393738, 0.9028968811035156...
api/cookiestore/delete/index.md
API - CookieStore - delete - Syntax - Exceptions: - `SecurityError` `DOMException`: Thrown if the origin can not be `serialized` to a URL. - `TypeError`: Thrown if a cookie that matches a given `name` or `options` cannot be deleted.
[ -0.4975000321865082, -0.6885080933570862, 0.4698290526866913, 0.36662977933883667, -0.6973394751548767, -1.357075810432434, -0.20928068459033966, 0.6410139799118042, 0.22063836455345154, -0.06353560835123062, -0.2015668898820877, 0.5091754794120789, 0.1072043925523758, -0.06256332993507385...
api/cookiestore/delete/index.md
API - CookieStore - delete - Examples - Delete a named cookie: This example shows how a cookie can be deleted by passing its name to the `delete()` method. This will work if the cookie to be deleted matches the cookie name and the default values of the `options` above. This will be the case if the cookie was `set()` ...
[ -0.012105359695851803, -0.2310055047273636, -0.07761242985725403, 0.4212470054626465, 0.12890727818012238, -0.43026962876319885, 0.33185964822769165, 0.4965824484825134, 0.13481684029102325, 0.3438885807991028, 0.21198523044586182, -0.26763203740119934, -0.3561317026615143, 0.2994959652423...
api/cookiestore/delete/index.md
API - CookieStore - delete - Examples - Delete a cookie with options: This example is almost identical to the previous one, except it demonstrates that the options must match those of the cookie to be deleted. The code first defines `setTestCookies()`. This creates two cookies with the `partitioned` property set to `...
[ 0.2810671925544739, 0.20889709889888763, -0.4468960762023926, 0.28104546666145325, 0.5533733367919922, -0.036876387894153595, 0.6845680475234985, 1.4907963275909424, -0.4287453293800354, -0.019064679741859436, 0.49834108352661133, 0.1375962644815445, -0.30100369453430176, 0.486629426479339...
api/cookiestore/delete/index.md
API - CookieStore - delete - Examples - Delete cookies created using document.cookies: Deleting a cookie that was created using `document.cookie` has the same requirements as deleting a cookie created using `CookieStore.set()`: the cookie either needs to match the passed `options`, or the `name` and the default option...
[ -0.2833542227745056, 0.006751509383320808, 0.013081148266792297, 0.9733480215072632, 0.4072396159172058, -0.18631039559841156, 0.049846500158309937, 1.0658422708511353, -0.396627277135849, -0.16464996337890625, 0.08201143145561218, -0.06834598630666733, 0.24452584981918335, 0.1343071907758...
api/cookiestore/set/index.md
API - CookieStore - set: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. The `set()` method of the `CookieStore` interface sets a cookie with the given `name` and `value` or `options` object.
[ -0.15278494358062744, -0.2468944936990738, -0.5601884126663208, 0.6009067893028259, 0.22131222486495972, -0.32496026158332825, 0.1919301152229309, 1.488374948501587, 0.020549364387989044, 0.041474126279354095, 0.7711436748504639, 0.6139429807662964, 0.5126851201057434, 0.17824125289916992,...
api/cookiestore/set/index.md
API - CookieStore - set - Syntax: Example: set(name, value) set(options)
[ -1.3243086338043213, -0.5689186453819275, 0.009439848363399506, -0.17392650246620178, -0.2731601595878601, -0.46097007393836975, -0.4111558198928833, 0.31587889790534973, -0.1893322765827179, -0.34450146555900574, 0.7541010975837708, -0.7329695224761963, -0.1601993292570114, 0.404866784811...
api/cookiestore/set/index.md
API - CookieStore - set - Syntax - Parameters: This method requires one of the following: - `name` (optional): A string with the name of the cookie. - `value` (optional): A string with the value of the cookie. Or - `options` (optional): An object containing: - `domain` (optional): A string containing the domain o...
[ 0.08914931118488312, -0.23912179470062256, -0.6683326363563538, 0.4757958650588989, 0.4588547348976135, -0.27381765842437744, 0.540026068687439, 1.4601420164108276, -0.3295632600784302, -0.19949445128440857, 0.2209307849407196, 0.45415258407592773, 0.19139190018177032, 0.2835448086261749, ...
api/cookiestore/set/index.md
API - CookieStore - set - Syntax - Return value: A `Promise` that resolves with `undefined` when setting the cookie completes.
[ -0.2554365396499634, 0.18287421762943268, -0.38007885217666626, 0.3679690361022949, 0.1768675148487091, -0.888462483882904, 0.39622220396995544, 0.992679238319397, -0.33656516671180725, 0.3338814675807953, 0.5388891100883484, 0.6795306205749512, 0.08867847174406052, 1.0903345346450806, -...
api/cookiestore/set/index.md
API - CookieStore - set - Syntax - Exceptions: - `SecurityError` `DOMException`: Thrown if the origin can not be `serialized` to a URL. - `TypeError`: Thrown if: - Both the `expires` and `maxAge` properties are set. - Setting the cookie with the given `name` and `value` or `options` fails in any other way.
[ -0.27609652280807495, -0.5877981781959534, -0.5193973779678345, 0.4666871428489685, -0.7773833870887756, -1.2115615606307983, 0.2987506091594696, 1.1426423788070679, 0.15122561156749725, -0.22948268055915833, -0.12837252020835876, 0.18406355381011963, -0.2109656035900116, -0.48739701509475...
api/cookiestore/set/index.md
API - CookieStore - set - Examples - Setting a cookie with name and value: This example sets a cookie by passing a `name` and `value` of "cookie1" and "cookie1-value", respectively. The other properties of the cookie are set with default values, as defined in the `options` parameter. The code first waits for the cook...
[ 0.20337852835655212, 0.08958320319652557, -0.8186891674995422, 0.5979493260383606, 0.4473192095756531, -0.1071682870388031, 0.5470972657203674, 1.2253175973892212, -0.31697556376457214, -0.18895688652992249, 0.6240822672843933, 0.043754942715168, 0.1980937272310257, 0.30276551842689514, ...
api/cookiestore/set/index.md
API - CookieStore - set - Examples - Setting a cookie with options: This example sets a cookie by passing an `options` object with `name`, `value`, `expires`, and `partitioned`. The code first waits for the cookie to be set: as this operation can fail, the operation is performed in a `try...catch` block and any error...
[ 0.07140808552503586, -0.2299221009016037, -0.7346250414848328, 0.8129581212997437, -0.21121686697006226, -0.5103431940078735, 0.19360080361366272, 0.9222295880317688, 0.3664579391479492, 0.14997659623622894, 0.2393881380558014, -0.38340845704078674, 0.20117779076099396, 0.18026120960712433...
api/cookiestore/getall/index.md
API - CookieStore - getAll: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. The `getAll()` method of the `CookieStore` interface returns a `Promise` that resolves as an array of cookies that match the `name` or `options` passed to it. Passing ...
[ -0.025622578337788582, -0.13894815742969513, -0.29591670632362366, 0.21123376488685608, 0.18574798107147217, -0.4791884422302246, -0.031850751489400864, 1.2925955057144165, -0.4178556203842163, 0.24018044769763947, 0.777953565120697, 0.676544189453125, 0.17880283296108246, 0.29499545693397...
api/cookiestore/getall/index.md
API - CookieStore - getAll - Syntax: Example: getAll() getAll(name) getAll(options)
[ -0.8550980091094971, -0.5990093946456909, 0.2138378620147705, -0.311730295419693, -0.564867377281189, -1.2422651052474976, -0.2676597237586975, 0.5914770364761353, -0.18185172975063324, -0.15645574033260345, 0.3325200080871582, 0.09143318235874176, -0.36928319931030273, 0.7293096780776978,...
api/cookiestore/getall/index.md
API - CookieStore - getAll - Syntax - Parameters: - `name` (optional): A string with the name of a cookie. Or - `options` (optional): An object containing: - `name`: A string with the name of a cookie. - `url`: A string with the URL of a cookie. Note: The `url` option enables the modification of a cookie scoped...
[ -0.5161055326461792, -0.46584177017211914, -0.19624170660972595, 0.18796585500240326, -0.12736302614212036, -0.9408856630325317, 0.801489531993866, 0.8670502305030823, -0.37129831314086914, 0.1983836442232132, 0.2620766758918762, 0.2251940369606018, -0.0028009507805109024, 0.39650318026542...
api/cookiestore/getall/index.md
API - CookieStore - getAll - Syntax - Return value: A `Promise` that resolves with an array of objects representing cookies that match the given `name` or `options`. Each object contains the following properties: - `domain`: A string containing the domain of the cookie. - `expires`: A timestamp, given as Unix time i...
[ 0.02395729534327984, -0.07101181149482727, -0.032935917377471924, 0.019820455461740494, 0.19200193881988525, -0.5988286733627319, 0.23712855577468872, 0.988761305809021, -0.860959529876709, 0.20553015172481537, 0.5389356017112732, 0.8558672070503235, -0.18772226572036743, 0.193794101476669...
api/cookiestore/getall/index.md
API - CookieStore - getAll - Syntax - Exceptions: - `SecurityError` `DOMException`: Thrown if the origin does not `serialize` to a URL. - `TypeError`: Thrown if: - The method is called in the main thread, and the `url` option is specified but does not match the URL of the current window. - The method is called in ...
[ -0.27677786350250244, -0.8461447954177856, 0.052944183349609375, 0.3329695761203766, -0.5518572330474854, -1.000915288925171, -0.48058515787124634, 0.7096997499465942, 0.15284685790538788, 0.09379524737596512, 0.16589832305908203, 0.3917868733406067, 0.14404763281345367, -0.286167979240417...
api/cookiestore/getall/index.md
API - CookieStore - getAll - Examples - Get all cookies for this context: This example shows how to get all cookies in the current context. First we define `setTestCookies()` which creates the test cookies "cookie1" and "cookie2", logging any errors. Example: async function setTestCookies() { // Set two cookies ...
[ -0.12982814013957977, -0.33072683215141296, -0.15261432528495789, 0.3065079152584076, -0.16827282309532166, -0.6922205686569214, -0.23501554131507874, 1.245205044746399, 0.29565414786338806, 0.17304830253124237, 0.15150637924671173, 0.16032379865646362, -0.16474305093288422, 0.314768612384...
api/response/status/index.md
API - Response - status: Note: This feature is available in Web Workers. The `status` read-only property of the `Response` interface contains the HTTP status code of the response. For example, `200` for success or `404` if the resource could not be found.
[ -0.3896980583667755, 0.25097230076789856, 0.04160080850124359, -0.03515002131462097, 0.08957602083683014, -1.6794415712356567, 0.6626711487770081, 0.39329269528388977, 0.787663996219635, 0.10241680592298508, -0.9756749272346497, 0.49070900678634644, 0.3309911787509918, 0.14007830619812012,...
api/response/status/index.md
API - Response - status - Value: An unsigned short number. This is one of the HTTP response status codes. A value of `0` is returned for a response whose `type` is `opaque`, `opaqueredirect`, or `error`.
[ -0.4019603431224823, -0.03170876204967499, -0.45380136370658875, 0.04153381288051605, 0.4434594511985779, -1.407354712486267, 0.9689621925354004, 1.5347285270690918, -0.017751794308423996, -0.00014951173216104507, -0.8324477672576904, 1.0473095178604126, 0.2865055501461029, 0.2574508786201...
api/response/status/index.md
API - Response - status - Examples: In our Fetch Response example (see Fetch Response live) we create a new `Request` object using the `Request()` constructor, passing it a JPG path. We then fetch this request using `fetch()`, extract a blob from the response using `Response.blob`, create an object URL out of it using...
[ -0.07108096033334732, -0.5154959559440613, -0.14487001299858093, 0.9211456775665283, -0.03446807339787483, -0.7360814809799194, -0.08872255682945251, 0.4774407744407654, 0.3890492916107178, -0.3545668125152588, -0.9906829595565796, 0.5204024314880371, -0.03784286230802536, 0.48835563659667...
api/windowsharedstorage/selecturl/index.md
API - WindowSharedStorage - selectURL: Deprecated: This feature is no longer recommended. The `selectURL()` method of the `WindowSharedStorage` interface executes a URL Selection operation that is registered in a module added to the current origin's `SharedStorageWorklet`. Note: The URL Selection output gate is used...
[ -0.004389889072626829, -0.5229009389877319, -0.7770545482635498, 1.2139954566955566, -0.13154815137386322, -0.9146002531051636, 0.12499456107616425, 1.4848352670669556, -0.1447288691997528, 0.052523910999298096, 0.014484293758869171, 0.9622256755828857, 0.23395836353302002, 0.4336185157299...
api/windowsharedstorage/selecturl/index.md
API - WindowSharedStorage - selectURL - Syntax: Example: selectURL(name, urls) selectURL(name, urls, options)
[ -0.33926811814308167, -0.8770579099655151, -0.18132081627845764, 0.13686226308345795, -0.6953874230384827, -1.4778507947921753, -0.159572035074234, 0.3289097547531128, 0.34409216046333313, -0.36939549446105957, -0.1424432098865509, 0.44178450107574463, -0.20947732031345367, 0.1695490926504...
api/windowsharedstorage/selecturl/index.md
API - WindowSharedStorage - selectURL - Syntax - Parameters: - `name`: A string representing the registered operation's name within the shared storage worklet module. It must match the name given to the operation when it is registered with `SharedStorageWorkletGlobalScope.register()`. - `urls`: An array of objects rep...
[ -0.1442229449748993, -0.7360682487487793, -0.15236660838127136, 0.9018548130989075, -0.10657155513763428, -1.1269161701202393, 0.024621643126010895, 0.7972484827041626, 0.37346211075782776, 0.5421256422996521, -0.5847240090370178, 0.13367341458797455, -0.36579734086990356, 0.08279488980770...
api/windowsharedstorage/selecturl/index.md
API - WindowSharedStorage - selectURL - Syntax - Return value: A `Promise` that fulfills with a `FencedFrameConfig` object or a string representing a URL, depending on the value of the `resolveToConfig` option.
[ -0.2488962560892105, -0.21345706284046173, -0.020494084805250168, 0.34615814685821533, -0.8019171953201294, -1.2501544952392578, 0.5540823936462402, 0.48323607444763184, -0.06532362848520279, 0.17419053614139557, -0.23415271937847137, 1.0622471570968628, -0.641568124294281, 0.7272225618362...
api/windowsharedstorage/selecturl/index.md
API - WindowSharedStorage - selectURL - Syntax - Exceptions: - `TypeError`: Thrown if: - The worklet module has not yet been added with `addModule()`. - `urls` is empty or exceeds the maximum allowed length (which is browser-specific). - An object's `url` property contains an invalid URL. - Shared storage is d...
[ -0.8364149332046509, -0.477079838514328, -0.22330208122730255, 1.1016639471054077, -0.39876359701156616, -0.6399360299110413, -0.47761818766593933, 0.8007075190544128, 0.8693218231201172, 0.002452249638736248, -0.46846991777420044, 0.49714893102645874, 0.18949630856513977, -0.2691159844398...
api/windowsharedstorage/selecturl/index.md
API - WindowSharedStorage - selectURL - Examples - Basic A/B testing: Example: // Randomly assigns a user to a group 0 or 1 function getExperimentGroup() { return Math.round(Math.random()); } async function injectContent() { // Add the module to the shared storage worklet await window.sharedStorage.worklet.add...
[ -0.1938360333442688, -0.4426990747451782, -0.043669674545526505, 0.6870567798614502, 0.41240382194519043, -1.063025951385498, 0.06552699953317642, 0.7646397948265076, 0.17684653401374817, 0.3320074677467346, 0.15966443717479706, 0.547627329826355, -0.16002409160137177, 0.18269576132297516,...
api/windowsharedstorage/run/index.md
API - WindowSharedStorage - run: Deprecated: This feature is no longer recommended. The `run()` method of the `WindowSharedStorage` interface executes a run operation that is registered in a module added to the current origin's `SharedStorageWorklet`. Note: The Run output gate is intended as a generic way to process...
[ 0.12916244566440582, 0.14755895733833313, -0.8482186794281006, 1.0227869749069214, -0.294821560382843, -0.8919976353645325, 0.005481131374835968, 1.624984622001648, -0.038362495601177216, -0.22158826887607574, -0.48114582896232605, 1.0061486959457397, -0.0027492009103298187, 0.795398652553...
api/windowsharedstorage/run/index.md
API - WindowSharedStorage - run - Syntax: Example: run(name) run(name, options)
[ 0.250578373670578, -0.11303021013736725, -0.5337176322937012, 0.2648714482784271, -1.1170313358306885, -0.8574261665344238, 0.09274056553840637, 0.4594838321208954, 0.17396953701972961, -0.29033002257347107, -0.2586063742637634, 0.31966495513916016, -0.43109071254730225, 0.3293590247631073...
api/windowsharedstorage/run/index.md
API - WindowSharedStorage - run - Syntax - Parameters: - `name`: A string representing the registered operation's name within the shared storage worklet module. It must match the name given to the operation when it is registered with `SharedStorageWorkletGlobalScope.register()`. - `options` (optional): An options obje...
[ 0.4339982569217682, -0.44321879744529724, -0.7507476210594177, 0.8648392558097839, 0.29697176814079285, -0.9707350730895996, 0.3358093500137329, 0.8359944820404053, 0.1638031005859375, 0.1110970750451088, -0.35764190554618835, 0.09077376127243042, 0.09109193086624146, 0.30557781457901, -...
api/windowsharedstorage/run/index.md
API - WindowSharedStorage - run - Syntax - Return value: A `Promise` that fulfills with `undefined`.
[ -0.30864283442497253, 0.626110851764679, 0.009548906236886978, 0.08128797262907028, -0.8080633878707886, -0.9893589019775391, 0.5613114237785339, 0.4319629371166229, -0.5155304670333862, 0.18530422449111938, -0.5542837977409363, 0.8335535526275635, -0.420224666595459, 0.7930527925491333, ...
api/windowsharedstorage/run/index.md
API - WindowSharedStorage - run - Syntax - Exceptions: - `TypeError`: Thrown if: - The worklet module has not yet been added with `addModule()`. - Shared storage is disabled (for example via a browser setting). - The calling site does not have the Shared Storage API included in a successful privacy sandbox enrol...
[ -0.6528239846229553, -0.05730641260743141, -0.5252629518508911, 0.6794103384017944, -0.5671957731246948, -0.938281774520874, -0.42834025621414185, 0.873505175113678, 0.9182863235473633, 0.01880929060280323, -0.6330318450927734, 0.3355095386505127, 0.25076180696487427, 0.2747993469238281, ...
api/windowsharedstorage/run/index.md
API - WindowSharedStorage - run - Examples: Example: async function measureUniqueReach() { // Load the Shared Storage worklet await window.sharedStorage.worklet.addModule("reach-measurement-worklet.js"); // Run the reach measurement operation await window.sharedStorage.run("reach-measurement", { data: { ...
[ -0.1314605176448822, 0.14716853201389313, -1.0151262283325195, 0.5918875336647034, -0.030134189873933792, -0.31574317812919617, 0.3532336354255676, 0.6951521039009094, -0.319378137588501, -0.217064768075943, -0.18171770870685577, 0.9620401859283447, 0.19702963531017303, 0.9046470522880554,...
api/vttregion/index.md
API - VTTRegion: The `VTTRegion` interface of the WebVTT API describes a portion of the video to render a `VTTCue` onto.
[ -0.04806569963693619, -0.3900987207889557, 0.3160203993320465, 0.8117383718490601, -0.08176691830158234, -1.4259661436080933, 0.1055753231048584, 0.15312644839286804, 0.8906515836715698, 0.4065837264060974, 0.3317660987377167, 0.22791656851768494, 0.7815812230110168, 0.22263741493225098, ...
api/vttregion/index.md
API - VTTRegion - Constructor: - `VTTRegion()`: Creates a new `VTTRegion` object instance.
[ -0.6918357014656067, -0.5298193693161011, -0.3654981553554535, 1.272297978401184, 0.03809598088264465, -1.5847946405410767, 0.1801537722349167, 0.23544487357139587, -0.013977400958538055, -0.18274261057376862, -0.18309737741947174, 0.4176609218120575, 0.41924968361854553, 0.651265621185302...
api/vttregion/index.md
API - VTTRegion - Instance properties: - `VTTRegion.id`: A string that identifies the region. - `VTTRegion.width`: Represents the width of the region, as a percentage of the video's width. - `VTTRegion.lines`: Represents the height of the region, in number of lines. - `VTTRegion.regionAnchorX`: Represents the region a...
[ -0.22626814246177673, -0.3704529404640198, -0.737720787525177, 0.4398248791694641, 0.058532193303108215, -1.6743888854980469, 0.641148030757904, 0.8093063831329346, 0.45485883951187134, -0.1077285185456276, -0.6690831184387207, -0.06468906253576279, 0.34913206100463867, 0.18721866607666016...
api/vttregion/index.md
API - VTTRegion - Examples: Example: const region = new VTTRegion(); region.width = 50; // Set the region to 50% of the video's width region.lines = 4; // Render cues in 4 lines region.viewportAnchorX = 25; // Place the region 25% from the left edge of the video const cue = new VTTCue(2, 3, "Cool text to be displayed...
[ -0.21806704998016357, -0.1578206568956375, 0.037767551839351654, 0.6450445055961609, -0.26905739307403564, -0.9022864103317261, 0.10238468647003174, 0.5769954919815063, 0.38202232122421265, 0.010865379124879837, 0.09002062678337097, 0.6147465109825134, 0.7168024778366089, -0.06670842319726...
api/vttregion/regionanchory/index.md
API - VTTRegion - regionAnchorY: The `regionAnchorY` property of the `VTTRegion` interface represents the y-coordinate of the region anchor, as a percentage of the region's height.
[ -0.013896681368350983, 0.03225976973772049, -0.16227760910987854, 0.5409238934516907, 0.02275046706199646, -1.161385416984558, 0.7236082553863525, 0.9421920776367188, 0.6531534790992737, -0.3427388370037079, -0.22390606999397278, 0.9304987192153931, 0.18955977261066437, 1.092698335647583, ...
api/vttregion/regionanchory/index.md
API - VTTRegion - regionAnchorY - Value: A number, in the range `0` to `100` inclusive, representing the y-coordinate of the region anchor as a percentage of the region's height. The default is `100`.
[ 0.32793453335762024, -0.028260502964258194, 0.14079946279525757, 0.3112579882144928, 0.26178300380706787, -0.751827597618103, 0.7571244239807129, 1.487845778465271, 0.27451851963996887, -0.04599931836128235, 0.09906800091266632, 1.2121105194091797, 0.04625352472066879, 0.855686366558075, ...
api/vttregion/regionanchory/index.md
API - VTTRegion - regionAnchorY - Value - Exceptions: - `IndexSizeError` `DOMException`: Thrown when set to a value that is negative or greater than `100`.
[ -0.8039522767066956, -0.9338159561157227, 0.3500157296657562, 0.4337858259677887, -0.0832396075129509, -1.7708957195281982, 0.22071978449821472, 0.29070204496383667, 0.6249033808708191, -0.1558239907026291, -0.5273106098175049, 1.15480375289917, 0.37612593173980713, 0.26124122738838196, ...
api/vttregion/regionanchory/index.md
API - VTTRegion - regionAnchorY - Examples: In the following example, a new `VTTRegion` is created, then the value of `regionAnchorY` is set to `70`. The value is then printed to the console. Example: const region = new VTTRegion(); region.regionAnchorY = 70; console.log(region.regionAnchorY);
[ -0.19324618577957153, -0.1176472157239914, -0.08219839632511139, 0.6541457772254944, -0.23074045777320862, -1.376537561416626, 0.7021681666374207, 0.8104534149169922, 0.590553879737854, -0.10951782763004303, 0.4583069682121277, 0.6207180619239807, 0.5199036598205566, 0.6564940214157104, ...
api/vttregion/vttregion/index.md
API - VTTRegion: The `VTTRegion()` constructor creates a new `VTTRegion` object instance.
[ -0.038344576954841614, 0.13613981008529663, -0.26929157972335815, 0.9457590579986572, -0.36279651522636414, -1.6648865938186646, 0.5974081754684448, 0.4117336571216583, -0.3789244592189789, 0.0028172722086310387, 0.15999512374401093, 0.03572279214859009, 0.137653648853302, 0.67785048484802...
api/vttregion/vttregion/index.md
API - VTTRegion - Syntax: Example: new VTTRegion()
[ 0.429713636636734, 0.06157974153757095, -0.3019979000091553, 0.4375050961971283, -0.09006588906049728, -1.9941686391830444, 0.5981382727622986, 0.811282217502594, -0.016900483518838882, -0.13850685954093933, 0.15458033978939056, 0.7290772795677185, -0.23228584229946136, 0.13453461229801178...
api/vttregion/vttregion/index.md
API - VTTRegion - Syntax - Parameters: None.
[ 0.42275261878967285, -0.06538837403059006, -0.26344144344329834, 0.10649023950099945, -0.5852410793304443, -0.8565985560417175, 0.5963512063026428, 1.0278308391571045, 0.006721489131450653, -0.6518110036849976, -0.39854010939598083, 0.76348477602005, 0.1289285123348236, 0.6882388591766357,...
api/vttregion/vttregion/index.md
API - VTTRegion - Syntax - Return value: A new `VTTRegion` object. The properties of the returned object are initialized to the following values: - `id`: `""` (the empty string) - `width`: `100` - `lines`: `3` - `regionAnchorX`: `0` - `regionAnchorY`: `100` - `viewportAnchorX`: `0` - `viewportAnchorY`: `100` - `scro...
[ -0.31346210837364197, -0.09046009182929993, -0.5662006139755249, 0.650285005569458, -0.19916385412216187, -1.6065208911895752, 1.5871258974075317, 1.2209625244140625, 0.03151901811361313, 0.15219922363758087, -0.4483647644519806, 0.6179693341255188, 0.5658783316612244, 0.18977898359298706,...
api/vttregion/vttregion/index.md
API - VTTRegion - Examples: Example: const region = new VTTRegion(); region.width = 50; // Use 50% of the video width region.lines = 4; // Use 4 lines of height.
[ -0.34892576932907104, -0.2796511948108673, -0.5222188830375671, 0.5305978059768677, -0.09746455401182175, -0.899621307849884, 0.2688952088356018, 0.6986526846885681, 0.3679031431674957, -0.3114869296550751, 0.19341090321540833, 0.4919639825820923, 0.5130974054336548, 0.23811021447181702, ...
api/vttregion/width/index.md
API - VTTRegion - width: The `width` property of the `VTTRegion` interface represents the width of the region, as a percentage of the video's width.
[ 0.5845751762390137, 0.06817927211523056, -0.9281501770019531, 0.3313494920730591, 0.03284068405628204, -1.0636518001556396, 1.028749704360962, 1.2575042247772217, 0.24553057551383972, -0.36125850677490234, 0.24594882130622864, 0.45132267475128174, -0.05626480281352997, 0.4764264225959778, ...
api/vttregion/width/index.md
API - VTTRegion - width - Value: A number in the range `0` to `100` inclusive, representing the width of the region as a percentage of the video's width. The default is `100`.
[ 0.06988978385925293, -0.10256492346525192, -0.8323182463645935, 0.0796506479382515, 0.24917486310005188, -0.7860622406005859, 1.5371980667114258, 1.3594961166381836, 0.034078411757946014, -0.2658625543117523, 0.3869873881340027, 0.9270886182785034, 0.024828411638736725, 0.49494367837905884...
api/vttregion/width/index.md
API - VTTRegion - width - Value - Exceptions: - `IndexSizeError` `DOMException`: Thrown when set to a value that is negative or greater than `100`.
[ -0.6210341453552246, -0.9980895519256592, -0.36523914337158203, 0.33836978673934937, 0.08464580774307251, -1.4810858964920044, 0.47038084268569946, 0.009179528802633286, 0.5273661017417908, -0.09049821645021439, -0.47644490003585815, 1.0681853294372559, 0.5456019043922424, 0.04402028024196...
api/vttregion/width/index.md
API - VTTRegion - width - Examples: In the following example, a new `VTTRegion` is created, then the value of `width` is set to `50`. The value is then printed to the console. Example: const region = new VTTRegion(); region.width = 50; // Set the region to 50% of the video's width console.log(region.width);
[ -0.3533436357975006, 0.04144854098558426, -0.7338360548019409, 0.4251706600189209, -0.2428121566772461, -1.4042845964431763, 0.8734546899795532, 1.0527312755584717, 0.4235057234764099, -0.2446640133857727, 0.2694303095340729, 0.634734034538269, 0.4507922828197479, 0.37039273977279663, 0....
api/vttregion/viewportanchory/index.md
API - VTTRegion - viewportAnchorY: The `viewportAnchorY` property of the `VTTRegion` interface represents the y-coordinate of the viewport anchor, as a percentage of the video's height.
[ 0.7137454748153687, -0.3859108090400696, -0.19438733160495758, 0.8560599684715271, -0.07112275063991547, -0.9111423492431641, 0.506876528263092, 1.1887749433517456, 0.19929641485214233, -0.13787661492824554, 0.26349693536758423, 0.41492265462875366, 0.4478780925273895, 0.9959120750427246, ...
api/vttregion/viewportanchory/index.md
API - VTTRegion - viewportAnchorY - Value: A number, in the range `0` to `100` inclusive, representing the y-coordinate of the viewport anchor as a percentage of the video's height. The default is `100`.
[ 0.3699726462364197, -0.7116557955741882, -0.12273258715867996, 0.4091247320175171, -0.1559036374092102, -0.6532806158065796, 0.8615754246711731, 1.3856719732284546, 0.12839840352535248, -0.10398534685373306, 0.28039756417274475, 0.8131914734840393, 0.3635590672492981, 0.8124945163726807, ...
api/vttregion/viewportanchory/index.md
API - VTTRegion - viewportAnchorY - Value - Exceptions: - `IndexSizeError` `DOMException`: Thrown when set to a value that is negative or greater than `100`.
[ -0.6635095477104187, -1.1731631755828857, 0.3291149139404297, 0.5073404312133789, -0.08070553839206696, -1.6544798612594604, 0.14995013177394867, 0.38647881150245667, 0.9950196743011475, 0.19211424887180328, -0.41569796204566956, 0.9090198278427124, 0.5559202432632446, 0.23467659950256348,...
api/vttregion/viewportanchory/index.md
API - VTTRegion - viewportAnchorY - Examples: In the following example, a new `VTTRegion` is created, then the value of `viewportAnchorY` is set to `75`. The value is then printed to the console. Example: const region = new VTTRegion(); region.viewportAnchorY = 75; // Place the region 75% from the top edge of the vi...
[ 0.394522488117218, -0.41338762640953064, -0.31575828790664673, 0.9993892908096313, -0.0534542016685009, -1.608502745628357, 0.44202637672424316, 1.100193977355957, 0.5813836455345154, -0.09442608803510666, 0.8141542673110962, 0.45104414224624634, 0.7322167158126831, 0.5401184558868408, 0...
api/vttregion/id/index.md
API - VTTRegion - id: The `id` property of the `VTTRegion` interface is a string that identifies the region.
[ 0.27799874544143677, 0.31878238916397095, -0.3917970359325409, 0.0708935335278511, -0.19182854890823364, -1.885837435722351, 1.2586027383804321, 0.256797194480896, -0.12857577204704285, 0.2033410668373108, -0.4731428623199463, 0.026685521006584167, -0.014087984338402748, 0.4422108232975006...
api/vttregion/id/index.md
API - VTTRegion - id - Value: A string that identifies the region. Initialized to an empty string when the `VTTRegion` object is first constructed.
[ -0.10671193897724152, -0.007879462093114853, -0.13814330101013184, -0.042686838656663895, -0.22270311415195465, -1.6977020502090454, 1.2080292701721191, 0.847688615322113, -0.359546959400177, 0.31756070256233215, -0.562434732913971, -0.05437973886728287, -0.4569472670555115, 0.112481236457...
api/vttregion/id/index.md
API - VTTRegion - id - Examples: In the following example, a new `VTTRegion` is created, then the value of `id` is set to `"region1"`. The value is then printed to the console. Example: const region = new VTTRegion(); region.id = "region1"; console.log(region.id);
[ 0.1475651115179062, -0.1324325054883957, -0.8366560339927673, 0.2047695815563202, -0.5963469743728638, -1.7959035634994507, 0.5970278978347778, 0.37876272201538086, 0.7652112245559692, 0.1695079803466797, -0.5501272678375244, 0.2561057209968567, 0.20394012331962585, 0.5547643899917603, 0...
api/vttregion/regionanchorx/index.md
API - VTTRegion - regionAnchorX: The `regionAnchorX` property of the `VTTRegion` interface represents the x-coordinate of the region anchor, as a percentage of the region's width.
[ -0.37817203998565674, -0.005254052579402924, -0.6179475784301758, 0.4700614809989929, -0.7174623012542725, -1.5586198568344116, 0.9097009897232056, 0.4815775752067566, 0.6375364065170288, -0.5261029601097107, -0.5356053709983826, -0.14170819520950317, 0.678963840007782, 0.7056258320808411,...
api/vttregion/regionanchorx/index.md
API - VTTRegion - regionAnchorX - Value: A number, in the range `0` to `100` inclusive, representing the x-coordinate of the region anchor as a percentage of the region's width. The default is `0`.
[ 0.2864829897880554, -0.3911616802215576, -0.6764496564865112, 0.2878943979740143, -0.12963475286960602, -1.0204541683197021, 0.7497640252113342, 1.400071382522583, 0.2597765028476715, -0.5155534148216248, 0.2174776792526245, 0.7417560815811157, 0.2147221714258194, 0.6477347612380981, -0....
api/vttregion/regionanchorx/index.md
API - VTTRegion - regionAnchorX - Value - Exceptions: - `IndexSizeError` `DOMException`: Thrown when set to a value that is negative or greater than `100`.
[ -0.828372061252594, -1.0628535747528076, 0.17022818326950073, 0.26714038848876953, -0.41284456849098206, -1.5191419124603271, 0.21251539885997772, 0.24615061283111572, 0.5791541337966919, -0.24271118640899658, -0.46682262420654297, 0.7850745320320129, 0.5131046175956726, 0.1540051698684692...
api/vttregion/regionanchorx/index.md
API - VTTRegion - regionAnchorX - Examples: In the following example, a new `VTTRegion` is created, then the value of `regionAnchorX` is set to `30`. The value is then printed to the console. Example: const region = new VTTRegion(); region.regionAnchorX = 30; console.log(region.regionAnchorX);
[ -0.16909804940223694, -0.2324468046426773, -0.5565330982208252, 0.6562970876693726, -0.5993860363960266, -1.3635838031768799, 0.7983108162879944, 0.7902958989143372, 0.6349824070930481, -0.289459228515625, 0.29175424575805664, 0.6417631506919861, 0.7572554349899292, 0.3357706367969513, 0...
api/vttregion/viewportanchorx/index.md
API - VTTRegion - viewportAnchorX: The `viewportAnchorX` property of the `VTTRegion` interface represents the x-coordinate of the viewport anchor, as a percentage of the video's width.
[ -0.18842656910419464, -0.6687191724777222, -0.4569411277770996, 0.7429957389831543, -0.7782208919525146, -0.9893551468849182, 0.41810157895088196, 0.48674386739730835, 0.696958065032959, -0.40736883878707886, 0.009280011057853699, -0.14361128211021423, 0.9391157031059265, 0.549896121025085...
api/vttregion/viewportanchorx/index.md
API - VTTRegion - viewportAnchorX - Value: A number, in the range `0` to `100` inclusive, representing the x-coordinate of the viewport anchor as a percentage of the video's width. The default is `0`.
[ -0.018111156299710274, -1.059980034828186, -0.5846685171127319, 0.4206176996231079, -0.5095935463905334, -0.7230057120323181, 0.8349523544311523, 0.924187958240509, 0.010627038776874542, -0.46036162972450256, 0.2096315622329712, 0.16182377934455872, 0.36870941519737244, 0.3831717371940613,...
api/vttregion/viewportanchorx/index.md
API - VTTRegion - viewportAnchorX - Value - Exceptions: - `IndexSizeError` `DOMException`: Thrown when set to a value that is negative or greater than `100`.
[ -0.5517861247062683, -1.1967748403549194, 0.1206710934638977, 0.42585980892181396, -0.3219914436340332, -1.399948000907898, 0.07133618742227554, 0.40502530336380005, 0.9335659742355347, 0.07414740324020386, -0.44353246688842773, 0.5845685005187988, 0.6945902109146118, 0.15546254813671112, ...
api/vttregion/viewportanchorx/index.md
API - VTTRegion - viewportAnchorX - Examples: In the following example, a new `VTTRegion` is created, then the value of `viewportAnchorX` is set to `25`. The value is then printed to the console. Example: const region = new VTTRegion(); region.viewportAnchorX = 25; // Place the region 25% from the left edge of the v...
[ 0.5012796521186829, -0.6190226078033447, -0.629665195941925, 0.9966080188751221, -0.5333167314529419, -1.5682647228240967, 0.46090438961982727, 0.9471835494041443, 0.7774289846420288, -0.20282278954982758, 0.6197186708450317, 0.46357792615890503, 0.8468689322471619, 0.24584943056106567, ...
api/vttregion/scroll/index.md
API - VTTRegion - scroll: The `scroll` property of the `VTTRegion` interface is an enumerated value indicating how existing cues in the region move when a new cue is added.
[ -0.42415091395378113, -0.04079242795705795, -0.5283840298652649, 0.5883213877677917, 0.40233463048934937, -1.6261135339736938, 0.5586960911750793, -0.04263288900256157, 0.9478131532669067, 0.08595822751522064, 0.11965502798557281, 0.5527980327606201, 0.8886715173721313, 0.7399511933326721,...
api/vttregion/scroll/index.md
API - VTTRegion - scroll - Value: A string. Possible values are: - `""` (the empty string): Existing cues in the region don't scroll; instead, they are displayed at the same time as new cues. This is the default. - `"up"`: New cues are added at the bottom of the region, and existing cues scroll upwards to make space ...
[ -0.6618735194206238, -0.37749436497688293, -0.5952094793319702, 0.604300320148468, -0.15851625800132751, -1.7135167121887207, 0.9051122665405273, 0.6969509124755859, 0.22495412826538086, 0.20051777362823486, 0.1291952282190323, 0.2283417284488678, 0.6036345362663269, 0.2099921703338623, ...
api/vttregion/scroll/index.md
API - VTTRegion - scroll - Examples: In the following example, a new `VTTRegion` is created, then the value of `scroll` is set to `"up"`. The value is then printed to the console. Example: const region = new VTTRegion(); region.scroll = "up"; console.log(region.scroll);
[ -0.1701134592294693, -0.2751607596874237, -0.7233911156654358, 0.7514691948890686, -0.2092473804950714, -1.4759869575500488, 0.4866970181465149, 0.34801918268203735, 0.38097065687179565, 0.08906807005405426, 0.4539031386375427, 0.44304460287094116, 0.5427045822143555, 0.8331645131111145, ...
api/vttregion/lines/index.md
API - VTTRegion - lines: The `lines` property of the `VTTRegion` interface represents the height of the region, in number of lines.
[ 0.6629043221473694, 0.25649493932724, -0.584922194480896, 0.26995018124580383, 0.13235841691493988, -1.6759638786315918, 0.7548933625221252, 0.634969174861908, 0.5688103437423706, -0.2137586623430252, -0.37908676266670227, 0.549062192440033, 0.0440731942653656, 0.6825432181358337, -0.196...
api/vttregion/lines/index.md
API - VTTRegion - lines - Value: A number representing the number of lines inside the region that cue text is rendered in. The default is `3`.
[ 0.10579268634319305, 0.10253152251243591, -0.6849569082260132, -0.14664721488952637, 0.5281190872192383, -1.390561819076538, 0.43332064151763916, 0.8556542992591858, -0.3040030002593994, -0.23595130443572998, -0.27760618925094604, 0.7624064087867737, 0.2866034209728241, 0.7026342749595642,...
api/vttregion/lines/index.md
API - VTTRegion - lines - Examples: In the following example, a new `VTTRegion` is created, then the value of `lines` is set to `4`. The value is then printed to the console. Example: const region = new VTTRegion(); region.lines = 4; // Render cues in 4 lines console.log(region.lines);
[ 0.23277699947357178, 0.08904500305652618, -1.0952460765838623, 0.6380763649940491, -0.07070964574813843, -1.6468775272369385, 0.46311765909194946, 1.014749526977539, 0.36171025037765503, -0.1870763599872589, -0.007777068763971329, 0.32662448287010193, 0.9000809192657471, 0.257885605096817,...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API: Secure context: This feature is available only in secure contexts (HTTPS). The Document Picture-in-Picture API makes it possible to open an always-on-top window that can be populated with arbitrary HTML content — for example a video with custom controls or a set of streams showi...
[ 0.46564924716949463, -0.3020775318145752, -0.20242886245250702, 0.6076963543891907, 0.5785940885543823, -0.6794339418411255, 0.296045184135437, 1.2695575952529907, -0.5585256814956665, -0.14008992910385132, 0.08701642602682114, 0.7804199457168579, 0.610460102558136, 0.504784882068634, -0...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API - Concepts and usage: It is often helpful to have a different window available to a web app in addition to the main window in which the app is running. You might want to browse other windows while keeping specific app content in view, or you might want to give that content its own...
[ 0.7672303318977356, 0.09025993198156357, -0.4456997513771057, 0.6966167688369751, 0.46275240182876587, -1.4375042915344238, -0.0745132714509964, 1.6107268333435059, -0.35099169611930847, 0.21056798100471497, 0.12855806946754456, 0.35532310605049133, -0.05902482569217682, 0.5831298232078552...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API - Concepts and usage - How does it work?: A new `DocumentPictureInPicture` object instance representing the always-on-top Picture-in-Picture window for the current document context is available via `Window.documentPictureInPicture`. The Picture-in-Picture window is opened by calli...
[ 0.23666423559188843, -0.1665455549955368, -0.2267283797264099, 1.2971092462539673, 0.6967419981956482, -1.2951271533966064, -0.3450675308704376, 1.2529971599578857, -0.24788370728492737, 0.18449319899082184, 0.01939552277326584, 0.5716158151626587, 0.14206866919994354, 0.6208151578903198, ...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API - Interfaces: - `DocumentPictureInPicture`: The entry point for creating and handling document Picture-in-Picture windows. - `DocumentPictureInPictureEvent`: Event object for the `enter` event, which fires when the Picture-in-Picture window is opened.
[ -0.2180021107196808, -0.2664911448955536, 0.1005481481552124, 0.6655937433242798, 0.11183510720729828, -0.7166858911514282, -0.18947197496891022, 0.15035578608512878, 0.9469549655914307, -0.28051993250846863, 0.18432384729385376, -0.18584007024765015, 1.0122750997543335, -0.067293331027030...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API - Extensions to other interfaces: - `Window.documentPictureInPicture`: Returns a reference to the `DocumentPictureInPicture` object for the current document context.
[ -0.7081822156906128, 0.10614727437496185, 0.38151073455810547, 0.5703642964363098, -0.2546684145927429, -0.8491927981376648, 0.09400704503059387, 0.46660274267196655, 0.6466935873031616, -0.7362450361251831, -0.27360624074935913, -0.10122013092041016, 0.582204282283783, 0.08022813498973846...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API - CSS additions: - `display-mode`, the `picture-in-picture` value: A CSS media feature value that allows developers to apply CSS to a document based on whether it is being displayed in Picture-in-Picture mode.
[ -0.9903457760810852, -0.43378445506095886, -0.0021598879247903824, 0.43413835763931274, 0.03736533224582672, -0.9585677981376648, -0.27366113662719727, 1.0425724983215332, 0.5762420296669006, -0.5353047847747803, -0.23023809492588043, 0.16122084856033325, 0.39829716086387634, 0.22290316224...
api/document_picture-in-picture_api/index.md
API - Document Picture-in-Picture API - Examples: See Document Picture-in-Picture API Example for a full working demo (see the full source code also).
[ -0.2367701530456543, -0.40213432908058167, -0.1271590143442154, 0.5520732402801514, -0.05821165069937706, -1.2058665752410889, -0.4541342854499817, 0.8407402038574219, -0.17088019847869873, -0.7442132830619812, 0.3719956874847412, 0.17597535252571106, 1.0677381753921509, 0.1701794266700744...
api/svganimatedenumeration/baseval/index.md
API - SVGAnimatedEnumeration - baseVal: The `baseVal` property of the `SVGAnimatedEnumeration` interface represents the value of an SVG enumeration.
[ -0.6261394023895264, -0.09617753326892853, 0.22272014617919922, -0.3128421902656555, -0.09218663722276688, -2.129821300506592, 1.1256518363952637, -0.1841399371623993, 0.12174475193023682, 0.10497317463159561, -0.0833919495344162, 0.5625119209289551, 0.1147589385509491, 0.29666411876678467...
api/svganimatedenumeration/baseval/index.md
API - SVGAnimatedEnumeration - baseVal - Value: An integer representing the base value of the enumeration. Ths is the non-animated content value of the corresponding attribute. The allowed values depend on the attribute that is reflected.
[ -0.671981155872345, -0.44824013113975525, 0.040808506309986115, 0.2254534661769867, 0.21993738412857056, -2.4089534282684326, 1.1292237043380737, 0.19021828472614288, 0.7308810353279114, 0.28032079339027405, -0.10976383090019226, 0.22240832448005676, 0.17975127696990967, -0.035349994897842...
api/svganimatedenumeration/baseval/index.md
API - SVGAnimatedEnumeration - baseVal - Exceptions: - `TypeError`: Thrown if the property is set to a constant that is not in the set of defined enumerations, or to `0`, which represents the "unknown attribute" value.
[ -0.8791242241859436, -0.6347315311431885, 0.3735116720199585, 0.32495954632759094, 0.13953542709350586, -2.0092310905456543, 0.5785917639732361, 0.2568773925304413, 0.9689652919769287, 0.21397119760513306, -0.5911118984222412, 0.8834993839263916, -0.09066307544708252, -0.05268631502985954,...
api/svganimatedenumeration/baseval/index.md
API - SVGAnimatedEnumeration - baseVal - Examples - Basic usage: Consider this snippet with a `clipPath` element: Its `clipPathUnits` is associated with an `SVGAnimatedEnumeration` object. Example: <svg viewBox="0 0 100 100" width="200" height="200"> <clipPath id="clip1" clipPathUnits="userSpaceOnUse"> <circle...
[ -0.40354031324386597, -0.317416250705719, -0.3042205274105072, 0.3171803951263428, 0.1081095039844513, -1.3896063566207886, 0.931232750415802, 0.5354329347610474, -0.6699216961860657, 0.01974012330174446, 0.021035678684711456, 0.5418253540992737, 0.6068751811981201, 0.12309974431991577, ...
api/sharedstorage/append/index.md
API - SharedStorage - append: Deprecated: This feature is no longer recommended. Non-standard: This feature is not standardized. The `append()` method of the `SharedStorage` interface appends a string to the value of an existing key-value pair in the current origin's shared storage.
[ 0.01978093385696411, -0.3841569423675537, -0.36480844020843506, 0.5894748568534851, -0.42640548944473267, -1.5606290102005005, 1.1472227573394775, 0.9663872718811035, 0.04098529368638992, -0.342171847820282, -0.8447896242141724, 0.45517927408218384, 0.27701857686042786, 0.4306073784828186,...
api/sharedstorage/append/index.md
API - SharedStorage - append - Syntax: Example: append(key, value)
[ 0.057756274938583374, -0.9435255527496338, -0.23664239048957825, 0.006378736346960068, -0.40880921483039856, -1.3110696077346802, 0.4789770245552063, 0.547339141368866, 0.3796461522579193, -0.31741073727607727, -0.30247265100479126, 0.5586367845535278, -0.7964392900466919, 0.57946205139160...
api/sharedstorage/append/index.md
API - SharedStorage - append - Syntax - Parameters: - `key`: A string representing the key of the key-value pair to which you want to append a value. - `value`: A string that you want to append to the existing value of the key-value pair. Note: If the specified `key` isn't found in the shared storage, the `append()` ...
[ 0.510410487651825, -0.5452418923377991, -0.7238361239433289, 0.9229280352592468, 0.16199028491973877, -1.5956683158874512, 1.363259196281433, 1.2334637641906738, -0.17216002941131592, -0.38842636346817017, -0.21964140236377716, 0.1582452356815338, -0.40404370427131653, 0.791487455368042, ...
api/sharedstorage/append/index.md
API - SharedStorage - append - Syntax - Return value: A `Promise` that fulfills with `undefined`.
[ 0.04678766801953316, 0.3423217236995697, 0.29101982712745667, -0.18466989696025848, -0.41703811287879944, -1.4614670276641846, 0.9813776016235352, 0.6306477189064026, -0.8865073919296265, 0.23387658596038818, -0.5269395112991333, 0.5647932291030884, -0.49527499079704285, 0.4565711617469787...