file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
api/workletsharedstorage/length/index.md | API - WorkletSharedStorage - length:
Deprecated: This feature is no longer recommended.
The `length()` method of the `WorkletSharedStorage` interface returns the number of entries currently stored in shared storage for the current origin. | [
0.2551816701889038,
0.06525614857673645,
-1.1369993686676025,
0.5280473232269287,
0.13559110462665558,
-0.7612265944480896,
0.5811870098114014,
1.4071738719940186,
-0.12764626741409302,
-0.9543689489364624,
-0.7137110233306885,
0.6135883331298828,
0.5584815740585327,
0.6166136264801025,
... |
api/workletsharedstorage/length/index.md | API - WorkletSharedStorage - length - Syntax:
Example:
length() | [
-0.24582014977931976,
-0.2003963142633438,
-1.1165374517440796,
-0.21698379516601562,
-0.3139990568161011,
-0.6424568295478821,
0.13947166502475739,
0.31766998767852783,
-0.2174135148525238,
-0.8852829337120056,
0.15110163390636444,
0.892231285572052,
-0.5620996952056885,
0.135537356138229... |
api/workletsharedstorage/length/index.md | API - WorkletSharedStorage - length - Syntax - Parameters:
None. | [
0.42238521575927734,
0.22048430144786835,
-0.43994349241256714,
0.07482904195785522,
-0.25063076615333557,
-0.4655039608478546,
0.6989108920097351,
0.9289376139640808,
-0.027287740260362625,
-0.777367353439331,
-0.6353427767753601,
0.05385599285364151,
-0.4232732951641083,
0.20667153596878... |
api/workletsharedstorage/length/index.md | API - WorkletSharedStorage - length - Syntax - Return value:
A `Promise` that fulfills with a number, which represents the total count of key-value pairs currently in the shared storage. | [
0.19748973846435547,
0.56266850233078,
-0.4643758237361908,
0.26263195276260376,
-0.20184174180030823,
-1.120410442352295,
0.2643876373767853,
0.4967014193534851,
-0.5136023759841919,
-0.5226724743843079,
-0.6714615225791931,
0.3545368015766144,
0.014834024012088776,
0.4039873480796814,
... |
api/workletsharedstorage/length/index.md | API - WorkletSharedStorage - length - Syntax - Exceptions:
- `TypeError`: Thrown if:
- The worklet module has not yet been added with `addModule()`.
- The calling site does not have the Shared Storage API included in a successful privacy sandbox enrollment process.
- The browser fails to retrieve the number of e... | [
0.3121686279773712,
-0.37444940209388733,
-0.7987421154975891,
0.6431612372398376,
-0.6692726016044617,
-0.8923677802085876,
0.4453127086162567,
0.8255077600479126,
-0.020694904029369354,
-0.3346675932407379,
-0.6668368577957153,
0.3156873881816864,
0.19202359020709991,
0.05386579036712646... |
api/workletsharedstorage/length/index.md | API - WorkletSharedStorage - length - Examples:
Example:
// length() available inside a shared storage worklet module
async function retrieveLength() {
const length = await this.sharedStorage.length();
console.log(length);
} | [
0.2942977249622345,
-0.2671683430671692,
-1.0627866983413696,
0.03481414169073105,
-0.2044287621974945,
-1.3760515451431274,
0.24570006132125854,
0.5967727303504944,
-0.5417632460594177,
-0.6767129898071289,
-0.29582634568214417,
0.6042109131813049,
0.08678577840328217,
-0.0257003344595432... |
api/workletsharedstorage/keys/index.md | API - WorkletSharedStorage - keys:
Deprecated: This feature is no longer recommended.
The `keys()` method of the `WorkletSharedStorage` interface returns an async iterator, which contains the keys for each item in a `WorkletSharedStorage` instance. | [
0.0833643227815628,
0.01737905852496624,
-0.9158539175987244,
0.8243187665939331,
0.12168426811695099,
-1.41358482837677,
0.7324351072311401,
0.9928566217422485,
-0.08438685536384583,
-0.23004800081253052,
-0.3870374262332916,
0.744209349155426,
0.3828945755958557,
0.21596094965934753,
1... |
api/workletsharedstorage/keys/index.md | API - WorkletSharedStorage - keys - Syntax:
Example:
keys() | [
0.17553766071796417,
-0.319940447807312,
-1.0705342292785645,
-0.02469542995095253,
-0.4451102018356323,
-0.9073212742805481,
0.1658760905265808,
0.20554469525814056,
0.0023715049028396606,
-0.6305235028266907,
0.1798643171787262,
0.5947675704956055,
-0.3078559637069702,
0.3808643519878387... |
api/workletsharedstorage/keys/index.md | API - WorkletSharedStorage - keys - Syntax - Parameters:
None. | [
0.47074028849601746,
0.1902191936969757,
-0.827913224697113,
-0.04824201390147209,
-0.12753987312316895,
-0.3099669814109802,
0.6878130435943604,
0.9644250869750977,
0.09249533712863922,
-0.7430676817893982,
-0.5382333397865295,
-0.20129862427711487,
-0.1790657639503479,
0.2057829797267913... |
api/workletsharedstorage/keys/index.md | API - WorkletSharedStorage - keys - Syntax - Return value:
An array of the `WorkletSharedStorage`'s enumerable property keys. | [
-0.017740655690431595,
0.08292314410209656,
-0.6287655830383301,
0.2973337471485138,
-0.24098584055900574,
-1.0962902307510376,
0.47477495670318604,
0.6653129458427429,
-0.004676826298236847,
-0.1827794313430786,
-0.08407175540924072,
0.40502968430519104,
0.13979695737361908,
-0.0169753953... |
api/workletsharedstorage/keys/index.md | API - WorkletSharedStorage - keys - Syntax - Exceptions:
- `TypeError`: Thrown if the calling site does not have the Shared Storage API included in a successful privacy sandbox enrollment process. | [
0.19482894241809845,
-0.4546779990196228,
-0.42287638783454895,
0.36347612738609314,
-0.18108683824539185,
-1.2072041034698486,
-0.7471413612365723,
1.0887231826782227,
0.7141343355178833,
-0.40099862217903137,
-0.4226395785808563,
-0.02947092428803444,
0.16335022449493408,
-0.439669638872... |
api/workletsharedstorage/keys/index.md | API - WorkletSharedStorage - keys - Examples:
Example:
// keys() available inside a shared storage worklet module
const storage = await this.sharedStorage;
async function logKeys() {
for await (const key of storage.keys()) {
console.log(key);
}
} | [
0.3792869746685028,
-0.08630450069904327,
-1.481622338294983,
0.5222394466400146,
-0.1413392722606659,
-1.2766005992889404,
0.31472471356391907,
0.5738309025764465,
0.07292942702770233,
-0.6810459494590759,
0.11644451320171356,
0.21797561645507812,
0.448113352060318,
0.18903467059135437,
... |
api/workletsharedstorage/get/index.md | API - WorkletSharedStorage - get:
Deprecated: This feature is no longer recommended.
The `get()` method of the `WorkletSharedStorage` interface retrieves a value from shared storage. | [
0.18951687216758728,
0.258476585149765,
-1.3313488960266113,
0.2503849267959595,
0.19027259945869446,
-0.9890875220298767,
0.3420303165912628,
1.776734471321106,
-0.42626702785491943,
-0.6831064224243164,
-0.49619436264038086,
0.4812735319137573,
0.1944209486246109,
0.5455343127250671,
0... |
api/workletsharedstorage/get/index.md | API - WorkletSharedStorage - get - Syntax:
Example:
get(key) | [
0.25584912300109863,
-0.06461606174707413,
-1.0107101202011108,
-0.27550870180130005,
-0.20233534276485443,
-1.3405218124389648,
-0.22137179970741272,
0.09992212802171707,
0.3597208559513092,
-0.8891777396202087,
0.393821120262146,
0.6235929727554321,
-0.7894474267959595,
0.220404088497161... |
api/workletsharedstorage/get/index.md | API - WorkletSharedStorage - get - Syntax - Parameters:
- `key`: A string representing the key of the key-value pair you want to retrieve. | [
0.8030581474304199,
0.3045666515827179,
-0.8479340672492981,
0.2103399634361267,
0.025877706706523895,
-1.5649819374084473,
0.5020683407783508,
0.017943408340215683,
0.0366947278380394,
-0.38020506501197815,
-0.1416453719139099,
0.5046366453170776,
-0.5310984253883362,
0.32107117772102356,... |
api/workletsharedstorage/get/index.md | API - WorkletSharedStorage - get - Syntax - Return value:
A `Promise` that fulfills with either a string equal to the value of the retrieved key-value pair or `undefined` if the specified `key` is not found in the shared storage. | [
0.2942948341369629,
0.21334563195705414,
-0.9547454714775085,
0.2976257801055908,
-0.002653270959854126,
-1.2484450340270996,
0.5155659317970276,
1.2112492322921753,
-0.5737868547439575,
-0.21116456389427185,
-0.14120051264762878,
0.6328994035720825,
-0.3374420702457428,
0.832068920135498,... |
api/workletsharedstorage/get/index.md | API - WorkletSharedStorage - get - Syntax - Exceptions:
- `TypeError`: Thrown if:
- The worklet module has not yet been added with `addModule()`.
- `key` exceeds the browser-defined maximum length.
- The calling site does not have the Shared Storage API included in a successful privacy sandbox enrollment process... | [
-0.4345296025276184,
-0.29547250270843506,
-0.5881044864654541,
0.20858234167099,
-0.6305601596832275,
-1.165001630783081,
-0.35136479139328003,
0.6684516668319702,
0.5956143140792847,
-0.23784750699996948,
-0.6726580262184143,
0.8454987406730652,
-0.22759298980236053,
-0.1390424370765686,... |
api/workletsharedstorage/get/index.md | API - WorkletSharedStorage - get - Examples - Measuring K+ frequency:
The following example measures the K+ frequency of content views. Sometimes described as "effective frequency", K frequency refers to the minimum number of views before a user will recognize or recall certain content (often used in the context of ad... | [
0.11833841353654861,
-0.01282587368041277,
-0.730431318283081,
0.1817382276058197,
-0.013322941958904266,
-1.074410080909729,
0.2590498626232147,
0.5770239233970642,
0.4543301463127136,
0.8367598056793213,
-0.8280982971191406,
0.17094159126281738,
0.24191460013389587,
0.3692518174648285,
... |
api/workletsharedstorage/remainingbudget/index.md | API - WorkletSharedStorage - remainingBudget:
Deprecated: This feature is no longer recommended.
The `remainingBudget()` method of the `WorkletSharedStorage` interface returns the remaining navigation budget for the current origin.
The navigation budget is the number of entropy bits permitted inside a `fencedframe` ... | [
0.3429222106933594,
-0.46702539920806885,
-0.36923620104789734,
0.6786141395568848,
0.2892122268676758,
-0.43619269132614136,
0.6511217951774597,
1.3125083446502686,
0.07333807647228241,
-0.20008812844753265,
-0.07489444315433502,
0.7725926041603088,
0.22297033667564392,
0.1417044103145599... |
api/workletsharedstorage/remainingbudget/index.md | API - WorkletSharedStorage - remainingBudget - Syntax:
Example:
remainingBudget() | [
-0.07797552645206451,
0.26495274901390076,
-0.43438324332237244,
0.15265055000782013,
-0.3573608100414276,
-1.1288530826568604,
0.3331240117549896,
0.3403511941432953,
-0.16624154150485992,
-0.9644982218742371,
0.20538252592086792,
0.290667325258255,
-0.13412708044052124,
-0.02195981144905... |
api/workletsharedstorage/remainingbudget/index.md | API - WorkletSharedStorage - remainingBudget - Syntax - Parameters:
None. | [
0.030039113014936447,
0.19851374626159668,
-0.4419807195663452,
0.22661039233207703,
-0.3927142322063446,
-0.5129499435424805,
0.5237345099449158,
0.827443540096283,
0.3027918338775635,
-1.022010087966919,
-0.28461945056915283,
0.11607618629932404,
-0.3428182899951935,
-0.03112353384494781... |
api/workletsharedstorage/remainingbudget/index.md | API - WorkletSharedStorage - remainingBudget - Syntax - Return value:
A `Promise` that fulfills with a number representing the remaining navigation budget. | [
0.16693271696567535,
0.5582456588745117,
-0.16865240037441254,
-0.25734588503837585,
0.4199880361557007,
-1.2925631999969482,
0.46387460827827454,
0.4418985843658447,
-0.32086944580078125,
-0.17559827864170074,
-0.020046452060341835,
0.578879714012146,
-0.14833751320838928,
0.5862116217613... |
api/workletsharedstorage/remainingbudget/index.md | API - WorkletSharedStorage - remainingBudget - Syntax - Exceptions:
- `TypeError`: Thrown if the worklet module has not yet been added with `addModule()` or if the calling site does not have the Shared Storage API included in a successful privacy sandbox enrollment process. | [
-0.27455049753189087,
0.07881579548120499,
-0.28632089495658875,
0.3239845931529999,
-0.5459578037261963,
-1.1999752521514893,
0.24570152163505554,
0.6348322033882141,
0.6055985689163208,
-0.117911696434021,
-0.5888321995735168,
0.16569191217422485,
0.8182429075241089,
-0.20025037229061127... |
api/workletsharedstorage/remainingbudget/index.md | API - WorkletSharedStorage - remainingBudget - Examples:
Example:
// remainingBudget() available inside a shared storage worklet module
async function retrieveBudget() {
const budget = await this.sharedStorage.remainingBudget();
console.log(budget);
} | [
-0.044245485216379166,
0.2655397951602936,
-0.8395784497261047,
0.26629963517189026,
-0.17049428820610046,
-1.372064232826233,
0.18396472930908203,
1.0332611799240112,
0.05230864882469177,
-0.8852121829986572,
-0.13414886593818665,
0.4476625919342041,
0.16560150682926178,
-0.06450077146291... |
api/view_transition_api/index.md | API - View Transition API:
The View Transition API provides a mechanism for easily creating animated transitions between different website and element views. This includes animating between DOM states in a single-page app (SPA), and animating the navigation between documents in a multi-page app (MPA). | [
0.6822791695594788,
-1.1604163646697998,
-0.07316073775291443,
0.5599291920661926,
0.10210593044757843,
-0.5810932517051697,
0.482416033744812,
1.6562578678131104,
-0.06864205002784729,
0.41781866550445557,
0.2207823395729065,
-0.1956058293581009,
0.9009067416191101,
0.6023179888725281,
... |
api/view_transition_api/index.md | API - View Transition API - Concepts and usage:
View transitions are a popular design choice for reducing users' cognitive load, helping them stay in context, and reducing perceived loading latency as they move between states or views of an application.
However, creating view transitions on the web has historically b... | [
0.5093600749969482,
-0.19551296532154083,
-0.13281089067459106,
0.0031766071915626526,
0.5299127697944641,
-0.7113115787506104,
0.8290482759475708,
1.7673259973526,
-0.6232726573944092,
0.043765366077423096,
0.1890053004026413,
0.014347642660140991,
0.30126145482063293,
0.7135903239250183,... |
api/view_transition_api/index.md | API - View Transition API - Interfaces:
- `CSSViewTransitionRule`: Represents a `@view-transition` at-rule.
- `ViewTransition`: Represents a view transition, and provides functionality to react to the transition reaching different states (e.g., ready to run the animation, or animation finished) or skip the transition ... | [
0.24377816915512085,
-0.5920566916465759,
-0.48962879180908203,
0.9410457611083984,
-0.04197686165571213,
-1.4772405624389648,
-0.5649734735488892,
0.9935742616653442,
0.570181667804718,
0.20328272879123688,
-0.013910660520195961,
-0.8321355581283569,
1.081027865409851,
0.5030672550201416,... |
api/view_transition_api/index.md | API - View Transition API - Extensions to other interfaces:
- `Document.startViewTransition()`: Starts a new same-document (SPA) view transition and returns a `ViewTransition` object to represent it.
- `PageRevealEvent`: The event object for the `pagereveal` event. During a cross-document navigation, it allows you to ... | [
0.14892105758190155,
-0.2593684196472168,
0.2665182650089264,
0.7465346455574036,
-0.1478946954011917,
-0.870938241481781,
-0.20193074643611908,
0.9994333982467651,
0.7117615938186646,
0.43334323167800903,
0.3968121409416199,
-0.3786853551864624,
0.06958743184804916,
0.718601405620575,
0... |
api/view_transition_api/index.md | API - View Transition API - HTML additions:
- `<link rel="expect">`: Identifies the most critical content in the associated document for the user's initial view of the page. Document rendering will be blocked until the critical content has been parsed, ensuring a consistent first paint — and therefore, view transition... | [
0.06931700557470322,
-0.45437729358673096,
0.42404139041900635,
0.8860056400299072,
0.29479584097862244,
-1.5100213289260864,
-0.4957164525985718,
0.27333641052246094,
0.24550241231918335,
0.04399862885475159,
-0.4924815595149994,
-0.8530141115188599,
0.31433945894241333,
0.705928921699523... |
api/view_transition_api/index.md | API - View Transition API - CSS additions - At-rules:
- `@view-transition`: In the case of a cross-document navigation, `@view-transition` is used to opt in the current and destination documents to undergo a view transition. | [
-0.4453752040863037,
-0.7268180251121521,
-0.8370558619499207,
0.5775240063667297,
-0.04295220598578453,
-1.4784283638000488,
-0.08545680344104767,
0.29094991087913513,
0.11028052866458893,
0.8784278631210327,
0.06720312684774399,
-0.6601319313049316,
1.3880690336227417,
0.6590065956115723... |
api/view_transition_api/index.md | API - View Transition API - CSS additions - Properties:
- `view-transition-name`: Specifies the view transition snapshot that selected elements will participate in, which enables an element to be animated separately from the rest of the page during a view transition.
- `view-transition-class`: Provides an additional m... | [
0.16788651049137115,
-0.7669883966445923,
-0.5515641570091248,
0.886886715888977,
0.3910094201564789,
-1.2508058547973633,
0.10421735048294067,
0.9230875372886658,
-0.15202626585960388,
0.6718277931213379,
0.20862692594528198,
-0.7507328987121582,
0.376339852809906,
0.6489141583442688,
-... |
api/view_transition_api/index.md | API - View Transition API - CSS additions - Pseudo-classes:
- `:active-view-transition`: Matches elements when a view transition is in progress.
- `:active-view-transition-type()`: Matches elements when a view transition with one or more specific types is in progress. | [
-0.2382497489452362,
-1.1362006664276123,
-0.39161136746406555,
0.9438083171844482,
0.04004232585430145,
-0.7053844332695007,
0.23780757188796997,
0.7442005276679993,
0.6953575015068054,
-0.06471237540245056,
-0.17456036806106567,
-0.9087689518928528,
0.6489872932434082,
0.3679174184799194... |
api/view_transition_api/index.md | API - View Transition API - CSS additions - Pseudo-elements:
- `::view-transition`: The root of the view transitions overlay, which contains all view transitions and sits over the top of all other page content.
- `::view-transition-group()`: The root of a single view transition.
- `::view-transition-image-pair()`: The... | [
0.6778408885002136,
-0.5218335390090942,
-0.6134762167930603,
0.8951190114021301,
0.5226544737815857,
-2.1592071056365967,
-0.1130404993891716,
1.1504952907562256,
0.43035680055618286,
0.307066410779953,
-0.01315990462899208,
-0.5216546058654785,
-0.05947953835129738,
1.1734063625335693,
... |
api/view_transition_api/index.md | API - View Transition API - Examples:
- Basic View Transitions SPA demo: A basic image gallery demo with view transitions, featuring separate animations between old and new images, and old and new captions.
- Basic View Transitions MPA demo: A sample two-page site that demonstrates usage of cross-document (MPA) view t... | [
0.4356306195259094,
-0.6285262107849121,
-0.39987435936927795,
0.18137216567993164,
0.4966312050819397,
-0.9844332337379456,
1.038055181503296,
1.526402473449707,
-0.018042664974927902,
0.3396349251270294,
0.6769208312034607,
0.6211962699890137,
0.5488969087600708,
0.7007020711898804,
-1... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types:
View transition types provide a mechanism by which different types can be specified for active view transitions. CSS can then be used to apply different animations to DOM elements when their content updates, depending on the transition type specified. For example, you might wan... | [
0.39252305030822754,
-0.6453408002853394,
-0.15986020863056183,
0.6564692258834839,
0.3311516046524048,
-1.3370544910430908,
-0.1075572818517685,
1.1409388780593872,
0.27024102210998535,
0.4359726011753082,
-0.17543360590934753,
-0.600847601890564,
0.4570218324661255,
0.6326783299446106,
... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Examples:
We'll demonstrate what you need to know about view transition types by walking through code contained in the following three examples:
- SPA transition types gallery (source code): An SPA image gallery that uses transition types to apply different transition animati... | [
-0.1615913063287735,
-0.2724865674972534,
-0.49880215525627136,
0.8539595603942871,
0.08387318253517151,
-1.4297760725021362,
0.10419799387454987,
1.233616590499878,
0.031650617718696594,
0.4935559332370758,
-0.06995884329080582,
-0.27143263816833496,
0.4337879419326782,
0.4675666689872741... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Using types with SPA view transitions:
To apply different types to SPA view transitions, we pass the type names into the `Document.startViewTransition()` method call that kicks off the transition. The method can accept an object as a parameter containing an `update` callback f... | [
0.10635624825954437,
-0.5747315883636475,
-0.2877177596092224,
0.8985849022865295,
-0.47765952348709106,
-1.3072565793991089,
-0.0140480175614357,
1.1138811111450195,
0.5698925852775574,
0.0438612625002861,
-0.7131244540214539,
0.032449908554553986,
0.5092357397079468,
0.5322237610816956,
... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Using types with SPA view transitions - Applying custom animations in CSS:
Over in the CSS, we can customize styles for the active transition using the `:active-view-transition` and `:active-view-transition-type()` pseudo-classes. Respectively, these allow you to create select... | [
0.3351692259311676,
-0.7121450901031494,
-0.06383804976940155,
0.8578102588653564,
0.17095538973808289,
-0.8764196634292603,
-0.31224313378334045,
1.1101411581039429,
0.6631590127944946,
0.19696253538131714,
0.16941387951374054,
-0.886723518371582,
0.601830244064331,
0.5164205431938171,
... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Using types with cross-document view transitions via `@view-transition`:
To apply different types to cross-document view transitions, you can set them in the `types` descriptor of the `@view-transition` at-rule, which contains one or more types separated by commas.
For exampl... | [
-0.0884321853518486,
-0.4778507351875305,
-0.312330424785614,
0.3793283700942993,
0.3118476867675781,
-0.7965505123138428,
-0.1635320484638214,
1.2612907886505127,
0.37677645683288574,
0.3981834053993225,
-0.13002878427505493,
-0.6170093417167664,
0.3509908616542816,
0.26665881276130676,
... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Applying different cross-document types using `pageswap` and `pagereveal` events:
The above works OK, but it's not ideal — when a new page is navigated to, the old page content always disappears to the left, and the new page content always appears from the right. This animatio... | [
0.3703145682811737,
-0.3989224433898926,
-0.1503874957561493,
0.4105357527732849,
0.16985994577407837,
-1.0649617910385132,
0.40423277020454407,
0.7655974626541138,
0.3275751769542694,
0.08669889718294144,
-0.5176728963851929,
-0.5793439149856567,
0.3108793795108795,
0.5196680426597595,
... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Applying different cross-document types using `pageswap` and `pagereveal` events - Determining the animation type via JavaScript:
Let's look at the shared JavaScript file. First of all, we define a custom function, `determineTransitionType()`, which looks at the URL of the out... | [
0.30736544728279114,
-0.8844303488731384,
-0.23552381992340088,
0.6831967234611511,
0.3008608818054199,
-0.6445146203041077,
0.345657616853714,
0.5554624795913696,
0.5040228962898254,
0.2748943269252777,
-0.3201216757297516,
-0.0312592014670372,
0.35055607557296753,
0.46579355001449585,
... |
api/view_transition_api/using_types/index.md | API - View Transition API - Using types - Applying different cross-document types using `pageswap` and `pagereveal` events - Applying custom animations in CSS:
Now we've got an appropriate type set on the active view transition depending on the navigation type, we can set different animations for each type in our CSS,... | [
-0.13880471885204315,
-0.5894110202789307,
0.00975220650434494,
0.9184238314628601,
0.15028534829616547,
-1.219333291053772,
-0.21993033587932587,
0.532339334487915,
0.062039971351623535,
0.519964337348938,
0.17811451852321625,
-0.4130953550338745,
0.3260250389575958,
0.4812796711921692,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using:
This article explains the theory behind how the View Transition API works, how to create view transitions and customize the transition animations, and how to manipulate active view transitions. This covers view transitions for both DOM state updates in a single-page app (SPA), and na... | [
0.3394105136394501,
-0.2511689066886902,
-0.039937324821949005,
0.21549054980278015,
0.27243438363075256,
-0.844161868095398,
0.3620047867298126,
1.2943415641784668,
0.29214900732040405,
0.33845797181129456,
0.12284310162067413,
-0.05539523810148239,
0.8670405745506287,
0.4913237690925598,... |
api/view_transition_api/using/index.md | API - View Transition API - Using - The view transition process:
Let's walk through the process by which a view transition works:
- A view transition is triggered. How this is done depends on the type of view transition:
- In the case of same-document transitions (SPAs), a view transition is triggered by passing th... | [
0.9084087014198303,
-0.29548338055610657,
-0.455539733171463,
0.5828788876533508,
0.1439085155725479,
-0.8710721135139465,
0.3902239501476288,
1.5820338726043701,
-0.44168993830680847,
0.02956671640276909,
0.16262204945087433,
-0.3880544900894165,
0.5984647274017334,
0.9298548102378845,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - The view transition process - An aside on snapshots:
It is worth noting that when talking about view transitions, we commonly use the term snapshot to refer to a part of the scope that has a `view-transition-name` declared on it. These sections will be animated separately from other... | [
0.175034761428833,
-0.3487336039543152,
-0.6170003414154053,
0.7426958084106445,
0.01976652443408966,
-1.2242649793624878,
-0.9762579202651978,
1.1842237710952759,
0.2848947048187256,
0.30031028389930725,
-0.36160650849342346,
-0.9916741847991943,
0.4104040265083313,
1.0643917322158813,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - The view transition process - The view transition pseudo-element tree:
To handle creating the outbound and inbound transition animations, the API constructs a pseudo-element tree with the following structure:
Example:
root
├─ ::view-transition
│ └─ ::view-transition-group(roo... | [
0.7377632856369019,
-0.3347984254360199,
-0.5763925313949585,
0.8324946165084839,
0.34819695353507996,
-1.063605785369873,
0.8355410099029541,
1.434815526008606,
-0.5762488842010498,
0.4893115162849426,
0.1667601615190506,
0.21573975682258606,
0.49849456548690796,
1.2283772230148315,
0.1... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Creating a basic view transition:
This section illustrates how to create a basic view transition, in both the SPA and MPA case. | [
0.00303319632075727,
-0.6859472990036011,
0.28138428926467896,
0.5800158977508545,
0.1096947193145752,
-0.8112000226974487,
0.5915881395339966,
0.47561490535736084,
1.3320491313934326,
0.09397011995315552,
-0.22325634956359863,
-0.38616859912872314,
0.7298202514648438,
0.5222874879837036,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Creating a basic view transition - Basic SPA view transition:
An SPA may include functionality to fetch new content and update the DOM in response to an event of some kind, such as a navigation link being clicked or an update being pushed from the server.
Our View Transitions SPA d... | [
0.12048869580030441,
-0.6020520329475403,
-0.38462910056114197,
0.7462849020957947,
0.10067756474018097,
-1.0202463865280151,
0.6400697827339172,
1.6256357431411743,
-0.0690751001238823,
0.2935161590576172,
0.33737650513648987,
0.10381869971752167,
0.3921942114830017,
1.3427082300186157,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Creating a basic view transition - Basic MPA view transition:
When creating a cross-document (MPA) view transition, the process is even simpler than for SPAs. No JavaScript is required, as the view update is triggered by a cross-document, same-origin navigation rather than a JavaScr... | [
0.19891998171806335,
-0.6352471709251404,
-0.4705340564250946,
0.3602326214313507,
0.49030882120132446,
-1.4316096305847168,
0.8943448662757874,
0.6091875433921814,
0.7205186486244202,
0.2603846490383148,
-0.5381607413291931,
-0.8832311034202576,
0.5615667104721069,
0.3692568838596344,
-... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Customizing your animations:
The View Transitions pseudo-elements have default CSS Animations applied (which are detailed in their reference pages).
Most appearance transitions are given a default smooth cross-fade animation, as mentioned above. There are some exceptions:
- `heigh... | [
0.838248610496521,
-0.14898107945919037,
-0.964219868183136,
0.37944671511650085,
0.7302754521369934,
-1.1611413955688477,
0.8985874056816101,
1.4788984060287476,
-0.6437960863113403,
0.20735019445419312,
0.5039653182029724,
-0.02301609516143799,
-0.07382084429264069,
0.9965472221374512,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Different animations for different elements:
By default, all of the different elements that change during the view update are transitioned using the same animation. If you want some elements to animate differently from the default `root` animation, you can separate them out using th... | [
0.9864063262939453,
-0.26828157901763916,
-0.6770002841949463,
0.4826469421386719,
0.720439076423645,
-1.330117106437683,
1.0480684041976929,
1.250302791595459,
-0.6171960830688477,
0.023910120129585266,
0.3150887191295624,
-0.030314039438962936,
-0.3757527768611908,
0.8008744120597839,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Different animations for different elements - Valid `view-transition-name` values:
The `view-transition-name` property can take a unique `custom-ident` value, which can be any identifier that wouldn't be misinterpreted as a keyword. The value of `view-transition-name` for each rende... | [
0.6022533178329468,
-0.823353111743927,
-0.3993251323699951,
1.152686595916748,
-0.05719654634594917,
-1.2463552951812744,
0.21073976159095764,
0.5878320932388306,
0.05755801498889923,
0.31208714842796326,
-0.17406438291072845,
-0.5499529838562012,
0.3355472981929779,
0.5126286149024963,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Different animations for different elements - Taking advantage of the default animation styles:
Note that we also discovered another transition option that is simpler and produced a nicer result than the above. Our final `<figcaption>` view transition ended up looking like this:
Ex... | [
0.2785159945487976,
-0.5995369553565979,
0.011562492698431015,
0.4556613564491272,
0.5198231935501099,
-0.5239547491073608,
0.6596449613571167,
1.1960278749465942,
-0.6399400234222412,
-0.026020556688308716,
0.45497748255729675,
-0.05878368765115738,
0.3332260251045227,
0.5395352840423584,... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Controlling view transitions with JavaScript:
A view transition has an associated `ViewTransition` object instance, which contains several promise members allowing you to run JavaScript in response to different states of the transition being reached. For example, `ViewTransition.rea... | [
0.7188266515731812,
-0.28071698546409607,
-0.14053107798099518,
0.5144666433334351,
-0.11904655396938324,
-0.9869166016578674,
0.3662949502468109,
1.3733493089675903,
0.2846706509590149,
0.10155318677425385,
0.1451793909072876,
-0.38616943359375,
0.47564321756362915,
0.8858687877655029,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Controlling view transitions with JavaScript - A JavaScript-powered custom same-document (SPA) transition:
The following JavaScript could be used to create a circular reveal view transition emanating from the position of the user's cursor on click, with animation provided by the `We... | [
0.5125256180763245,
-0.30471083521842957,
-0.30387866497039795,
0.09521651268005371,
0.6530797481536865,
-0.746833086013794,
1.0573973655700684,
1.2798199653625488,
-0.29722797870635986,
0.15231961011886597,
0.43260273337364197,
0.3802565932273865,
0.1691676825284958,
0.8139551877975464,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Controlling view transitions with JavaScript - A JavaScript-powered custom cross-document (MPA) transition:
The List of Chrome DevRel team members demo provides a basic set of team profile pages, and demonstrates how to use the `pageswap` and `pagereveal` events to customize the out... | [
0.7393580079078674,
-0.33140209317207336,
-0.2506678104400635,
0.25894343852996826,
0.7302055954933167,
-0.5772207975387573,
1.4152098894119263,
1.199284315109253,
-0.8114402294158936,
0.20063026249408722,
0.3986490070819855,
0.5564455389976501,
-0.04635275900363922,
0.6254512667655945,
... |
api/view_transition_api/using/index.md | API - View Transition API - Using - Stabilizing page state to make cross-document transitions consistent:
Before running a cross-document transition, you ideally want to wait until the state of the page stabilizes, relying on render blocking to ensure that:
- Critical styles are loaded and applied.
- Critical scripts... | [
-0.2118314653635025,
0.2511070668697357,
0.25792819261550903,
0.5701740384101868,
0.11532816290855408,
-1.1299563646316528,
-0.6969427466392517,
0.5933787822723389,
0.41027769446372986,
-0.14503487944602966,
-0.2273409068584442,
0.261302649974823,
0.3771340548992157,
0.6604734659194946,
... |
api/idledeadline/timeremaining/index.md | API - IdleDeadline - timeRemaining:
The `timeRemaining()` method of the `IdleDeadline` interface returns the estimated number of milliseconds the user agent will remain idle for. The callback can call this method at any time to determine how much time it can continue to work before it must return. For example, if the ... | [
0.16661137342453003,
-0.08559812605381012,
-0.6058713793754578,
0.2447165846824646,
0.37414440512657166,
-0.8326104283332825,
0.9213144779205322,
1.2559306621551514,
-0.6798633933067322,
0.0869174376130104,
-0.14727503061294556,
0.6883131861686707,
0.12252826988697052,
0.6278608441352844,
... |
api/idledeadline/timeremaining/index.md | API - IdleDeadline - timeRemaining - Syntax:
Example:
timeRemaining() | [
-0.8246950507164001,
-0.18415234982967377,
0.3797447085380554,
-0.6150348782539368,
-0.34814754128456116,
-1.4256376028060913,
0.7127538323402405,
0.3986610174179077,
-0.6548959612846375,
-0.11099487543106079,
-0.28951770067214966,
0.027743183076381683,
-0.2593578100204468,
0.2275215387344... |
api/idledeadline/timeremaining/index.md | API - IdleDeadline - timeRemaining - Syntax - Parameters:
None. | [
-0.1621360182762146,
0.015105493366718292,
0.3058444559574127,
-0.1323103904724121,
-0.5736961364746094,
-0.7738903164863586,
1.109511137008667,
0.9366249442100525,
-0.6484588980674744,
-0.2232826203107834,
-0.8127380013465881,
0.1298026591539383,
-0.6700811982154846,
0.1538945883512497,
... |
api/idledeadline/timeremaining/index.md | API - IdleDeadline - timeRemaining - Syntax - Return value:
A `DOMHighResTimeStamp` value (which is a floating-point number) representing the number of milliseconds the user agent estimates are left in the current idle period. The value is ideally accurate to within about 5 microseconds.
If the `IdleDeadline` object'... | [
-0.5434678792953491,
-0.655531108379364,
0.24034017324447632,
0.3790784776210785,
-0.0881684422492981,
-1.3481429815292358,
1.1000821590423584,
1.0411953926086426,
-0.08627696335315704,
0.18434247374534607,
-0.9769700169563293,
0.809937596321106,
-0.10211427509784698,
0.30341580510139465,
... |
api/idledeadline/timeremaining/index.md | API - IdleDeadline - timeRemaining - Examples:
See our complete example in the article Cooperative Scheduling of Background Tasks API. | [
-0.8962517976760864,
0.23283562064170837,
0.48576515913009644,
0.06728090345859528,
0.13021869957447052,
-0.352988064289093,
0.9230207204818726,
0.15477252006530762,
0.36530783772468567,
-0.2068820297718048,
-0.385649174451828,
0.024390757083892822,
-0.11786437034606934,
-0.143414944410324... |
api/authenticatorattestationresponse/index.md | API - AuthenticatorAttestationResponse:
Secure context: This feature is available only in secure contexts (HTTPS).
The `AuthenticatorAttestationResponse` interface of the Web Authentication API is the result of a WebAuthn credential registration. It contains information about the credential that the server needs to p... | [
0.8426771759986877,
0.08680057525634766,
0.5258972644805908,
0.397614985704422,
0.026457220315933228,
-1.2379426956176758,
0.3491900861263275,
0.5070789456367493,
1.3358005285263062,
0.2570180892944336,
-0.1958293616771698,
0.4101855456829071,
-0.054885804653167725,
0.20986011624336243,
... |
api/authenticatorattestationresponse/index.md | API - AuthenticatorAttestationResponse - Instance properties:
Also inherits properties from its parent, `AuthenticatorResponse`.
- `AuthenticatorAttestationResponse.attestationObject` (read only): An `ArrayBuffer` containing authenticator data and an attestation statement for a new key pair generated by the authentic... | [
0.6977643966674805,
-0.32103708386421204,
-0.4155873656272888,
0.4178197383880615,
-0.11770685017108917,
-1.2334768772125244,
0.9479228854179382,
1.883665919303894,
0.32467371225357056,
0.015826331451535225,
0.002931267023086548,
0.751112163066864,
-0.30897587537765503,
0.21102094650268555... |
api/authenticatorattestationresponse/index.md | API - AuthenticatorAttestationResponse - Instance methods:
- `AuthenticatorAttestationResponse.getAuthenticatorData()`: Returns an `ArrayBuffer` containing the authenticator data contained within the `AuthenticatorAttestationResponse.attestationObject` property.
- `AuthenticatorAttestationResponse.getPublicKey()`: Ret... | [
0.10522111505270004,
-0.8891186118125916,
-0.22169837355613708,
0.5547745823860168,
-0.10872355103492737,
-0.8825337886810303,
0.7169920802116394,
1.1178287267684937,
0.2436964213848114,
0.3291211426258087,
-0.46843278408050537,
0.3420596718788147,
0.21229970455169678,
0.4583433270454407,
... |
api/authenticatorattestationresponse/index.md | API - AuthenticatorAttestationResponse - Examples:
See Creating a public key credential for a detailed example. | [
-0.11240196228027344,
0.3290788531303406,
-0.04747515916824341,
-0.18263401091098785,
0.14358778297901154,
-0.3638250231742859,
0.1764935702085495,
0.595797061920166,
0.5237452387809753,
-0.24649474024772644,
0.10726018249988556,
0.08099997043609619,
-0.6939947605133057,
0.1194928288459777... |
api/authenticatorattestationresponse/getpublickey/index.md | API - AuthenticatorAttestationResponse - getPublicKey:
Secure context: This feature is available only in secure contexts (HTTPS).
The `getPublicKey()` method of the `AuthenticatorAttestationResponse` interface returns an `ArrayBuffer` containing the DER `SubjectPublicKeyInfo` of the new credential (see Subject Public... | [
0.1673179417848587,
-0.3692858815193176,
-0.4518336355686188,
-0.057914942502975464,
0.12487082183361053,
-0.7278438806533813,
0.7980687618255615,
1.1563246250152588,
0.2802981436252594,
-0.003171859309077263,
0.2098277360200882,
0.767265796661377,
-0.2926260530948639,
-0.09122657775878906... |
api/authenticatorattestationresponse/getpublickey/index.md | API - AuthenticatorAttestationResponse - getPublicKey - Syntax:
Example:
getPublicKey() | [
-0.447467178106308,
0.06294121593236923,
-0.4862847626209259,
-0.505094051361084,
-0.477227121591568,
-0.6287460327148438,
0.5512499213218689,
0.7108123302459717,
0.8087406754493713,
-0.022420194000005722,
0.1465522050857544,
0.24940869212150574,
-0.8341621160507202,
0.16394832730293274,
... |
api/authenticatorattestationresponse/getpublickey/index.md | API - AuthenticatorAttestationResponse - getPublicKey - Syntax - Parameters:
None. | [
0.05133620649576187,
0.04655880108475685,
-0.1688212752342224,
-0.27974650263786316,
-0.1741412878036499,
-0.8693835139274597,
0.6668704152107239,
0.4230845868587494,
0.3407159149646759,
-0.38532039523124695,
-0.16399961709976196,
0.2819022834300995,
-0.5045015215873718,
0.1757131665945053... |
api/authenticatorattestationresponse/getpublickey/index.md | API - AuthenticatorAttestationResponse - getPublicKey - Syntax - Return value:
An `ArrayBuffer` containing the DER `SubjectPublicKeyInfo` of the new credential (see Subject Public Key Info), or `null` if this is not available. | [
-0.18918448686599731,
-0.29533281922340393,
-0.35485586524009705,
0.46564215421676636,
-0.2835850119590759,
-1.0927587747573853,
0.5745830535888672,
0.4469747245311737,
-0.10041745752096176,
-0.003674522042274475,
-0.6507860422134399,
0.39966103434562683,
0.08490876853466034,
0.28702527284... |
api/authenticatorattestationresponse/getpublickey/index.md | API - AuthenticatorAttestationResponse - getPublicKey - Examples:
See Creating a public key credential for a detailed example. | [
0.46774905920028687,
0.23637515306472778,
-0.0793319046497345,
-0.44941866397857666,
-0.2716200649738312,
-1.2378827333450317,
0.545392632484436,
0.7188884019851685,
0.26425057649612427,
-0.18937212228775024,
-0.06854364275932312,
0.7795059680938721,
-0.5875861644744873,
-0.040955461561679... |
api/svgtextpathelement/method/index.md | API - SVGTextPathElement - method:
The `method` read-only property of the `SVGTextPathElement` interface represents the method by which text should be rendered along the path.
Note that the `method.baseVal` property reflects the `method` attribute of the given `textPath` element, as an enumerated value. While `method... | [
-0.31612563133239746,
-0.31414562463760376,
0.8826711773872375,
0.6786237955093384,
0.1451820582151413,
-1.9728479385375977,
0.5677202343940735,
0.21405939757823944,
0.7804269790649414,
0.059252332895994186,
-0.22680038213729858,
0.1927274465560913,
0.5480647683143616,
-0.09845060110092163... |
api/svgtextpathelement/method/index.md | API - SVGTextPathElement - method - Value:
An `SVGAnimatedEnumeration` object.
The following static properties indicate the values that can be returned from `method.baseVal` (and `method.animVal`):
- `SVGTextPathElement.TEXTPATH_METHODTYPE_UNKNOWN` (0): The type is not one of the predefined types.
- `SVGTextPathElem... | [
-0.6714426875114441,
-0.5119214653968811,
0.5037562847137451,
0.5060245394706726,
0.09721043705940247,
-1.9156882762908936,
0.8369520902633667,
0.22078852355480194,
0.7199925184249878,
0.17221221327781677,
-0.2520463466644287,
0.544310450553894,
0.7472365498542786,
-0.19308610260486603,
... |
api/svgtextpathelement/method/index.md | API - SVGTextPathElement - method - Examples - Accessing the `method` property:
Example:
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="200">
<defs>
<path id="myPath" d="M10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80" />
</defs>
<text font-size="20" fill="blue">
<textPath id="myTextPath" hr... | [
-0.7135482430458069,
-0.18795284628868103,
0.20009192824363708,
-0.10741908848285675,
-0.13285210728645325,
-1.5237796306610107,
0.7100144624710083,
0.4548586308956146,
0.11320631206035614,
0.4005553126335144,
0.22187086939811707,
0.47230958938598633,
0.7754639983177185,
0.0570846572518348... |
api/svgtextpathelement/spacing/index.md | API - SVGTextPathElement - spacing:
The `spacing` read-only property of the `SVGTextPathElement` interface represents the spacing between typographic characters that are to be rendered along a path.
Note that the `spacing.baseVal` property reflects the `spacing` attribute of the given `textPath` element, as an enumer... | [
-0.7324346899986267,
-0.033570386469364166,
0.6230854392051697,
0.20066404342651367,
0.49132347106933594,
-2.080199718475342,
0.7028849720954895,
0.6896308064460754,
0.5318674445152283,
0.10714153200387955,
0.7162293195724487,
0.800140380859375,
0.3747173845767975,
0.06742864102125168,
-... |
api/svgtextpathelement/spacing/index.md | API - SVGTextPathElement - spacing - Value:
An `SVGAnimatedEnumeration` object.
The following static properties indicate the values that can be returned from `spacing.baseVal` (and `spacing.animVal`):
- `SVGTextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN` (0): The type is not one of the predefined types. This value can... | [
-0.9124889373779297,
-0.7097069621086121,
0.6174774169921875,
0.8129271864891052,
0.09086565673351288,
-1.4957331418991089,
1.2137973308563232,
1.073918104171753,
0.21434512734413147,
0.26930931210517883,
0.14469052851200104,
0.8736470937728882,
0.6256476640701294,
0.19480228424072266,
0... |
api/svgtextpathelement/spacing/index.md | API - SVGTextPathElement - spacing - Examples - Accessing the `spacing` property:
Example:
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="200">
<defs>
<path id="myPath" d="M10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80" />
</defs>
<text font-size="20" fill="blue">
<textPath id="myTextPath" ... | [
-1.1319364309310913,
0.023211810737848282,
0.5828031897544861,
0.07407785207033157,
-0.17738598585128784,
-1.2873183488845825,
0.5480291843414307,
-0.13337625563144684,
0.7082202434539795,
0.42347806692123413,
0.08739275485277176,
0.2610653042793274,
0.3253379166126251,
-0.2910443544387817... |
api/performanceresourcetiming/finalresponseheadersstart/index.md | API - PerformanceResourceTiming - finalResponseHeadersStart:
Note: This feature is available in Web Workers.
The `finalResponseHeadersStart` read-only property returns a `timestamp` immediately after the browser receives the first byte of the final document response (for example, `2`) from the server.
This differs f... | [
0.4484820067882538,
-0.30210280418395996,
0.3277255594730377,
0.4103635549545288,
0.5866344571113586,
-1.2231940031051636,
0.6986615061759949,
1.2075297832489014,
0.11578010022640228,
-0.10442550480365753,
0.13948500156402588,
0.6543185710906982,
-0.281328409910202,
0.15861959755420685,
... |
api/performanceresourcetiming/finalresponseheadersstart/index.md | API - PerformanceResourceTiming - finalResponseHeadersStart - Value:
The `finalResponseHeadersStart` property can have the following values:
- A `DOMHighResTimeStamp` immediately after the browser receives the first bytes of the final response from the server.
- `0` if the resource is a cross-origin request and no `T... | [
-0.10707724839448929,
-0.6977636814117432,
0.03468318283557892,
0.9934836626052856,
0.10376797616481781,
-1.6337779760360718,
1.22148859500885,
0.798582136631012,
0.14873620867729187,
-0.5098931789398193,
-0.5131468772888184,
0.8831727504730225,
0.14984019100666046,
-0.36486104130744934,
... |
api/performanceresourcetiming/finalresponseheadersstart/index.md | API - PerformanceResourceTiming - finalResponseHeadersStart - Examples - Measuring request time:
The `finalResponseHeadersStart` and `requestStart` properties can be used to measure how long it takes for the browser to start receive the final response after the sending the request.
Example:
const request = entry.fin... | [
-0.10793668031692505,
-0.38617777824401855,
-0.17124424874782562,
0.3553328514099121,
-0.17758038640022278,
-0.7954946756362915,
0.40399760007858276,
0.37361928820610046,
0.9160951972007751,
-0.15149910748004913,
-0.36281871795654297,
0.15714441239833832,
0.1612875908613205,
0.072795599699... |
api/performanceresourcetiming/finalresponseheadersstart/index.md | API - PerformanceResourceTiming - finalResponseHeadersStart - Examples - Cross-origin timing information:
If the value of the `finalResponseHeadersStart` property is `0`, the resource might be a cross-origin request. To allow seeing cross-origin timing information, the `Timing-Allow-Origin` HTTP response header needs ... | [
0.521074652671814,
-0.5651780366897583,
-0.5100479125976562,
1.011019229888916,
-0.2456335574388504,
-1.696087121963501,
0.5561026334762573,
1.418769121170044,
-0.10795305669307709,
-0.40970930457115173,
-0.2804105877876282,
0.6088021993637085,
0.17171719670295715,
-0.21595023572444916,
... |
api/performanceresourcetiming/firstinterimresponsestart/index.md | API - PerformanceResourceTiming - firstInterimResponseStart:
Note: This feature is available in Web Workers.
The `firstInterimResponseStart` read-only property returns a `timestamp` immediately after the browser receives the first byte of the interim 1xx response (for example, `1` or `1`) from the server.
There is n... | [
-0.09336143732070923,
-0.431045800447464,
0.10361731052398682,
0.37254762649536133,
0.6147701144218445,
-1.3593215942382812,
0.8497509360313416,
1.2846789360046387,
0.4491165280342102,
0.18067172169685364,
-0.5639225840568542,
0.4584975838661194,
-0.5616985559463501,
-0.16227546334266663,
... |
api/performanceresourcetiming/firstinterimresponsestart/index.md | API - PerformanceResourceTiming - firstInterimResponseStart - Value:
The `firstInterimResponseStart` property can have the following values:
- A `DOMHighResTimeStamp` immediately after the browser receives the first interim bytes of the response from the server.
- `0` if the resource sent no interim response.
- `0` i... | [
-0.3549613952636719,
-0.8963497281074524,
0.17255757749080658,
0.7868939638137817,
0.041970521211624146,
-1.7086358070373535,
0.826431155204773,
0.8211818933486938,
0.31687819957733154,
0.28396540880203247,
-0.6625372171401978,
0.21892309188842773,
-0.23866307735443115,
-0.5820377469062805... |
api/performanceresourcetiming/firstinterimresponsestart/index.md | API - PerformanceResourceTiming - firstInterimResponseStart - Examples - Measuring request time:
The `firstInterimResponseStart` and `requestStart` properties can be used to measure how long it takes to the browser to receive an interim response after the sending the request.
Example:
const request = entry.firstInte... | [
0.08254953473806381,
-0.6104833483695984,
-0.18947342038154602,
0.07176292687654495,
0.027087785303592682,
-1.368425965309143,
0.27427950501441956,
0.5443741679191589,
1.2394254207611084,
-0.014106228947639465,
-0.8726016283035278,
0.13505223393440247,
0.1615934520959854,
-0.27977657318115... |
api/performanceresourcetiming/firstinterimresponsestart/index.md | API - PerformanceResourceTiming - firstInterimResponseStart - Examples - Cross-origin timing information:
If the value of the `firstInterimResponseStart` property is `0`, the resource might be a cross-origin request. To allow seeing cross-origin timing information, the `Timing-Allow-Origin` HTTP response header needs ... | [
0.46519210934638977,
-0.525809109210968,
-0.40947332978248596,
1.0379475355148315,
-0.04256770759820938,
-1.6934375762939453,
0.5950008630752563,
1.8708727359771729,
-0.16054397821426392,
-0.179678276181221,
-0.3875596821308136,
0.5482791662216187,
-0.3313983380794525,
-0.34228894114494324... |
api/mathmlelement/index.md | API - MathMLElement:
The `MathMLElement` interface represents any MathML element. | [
-0.1169479563832283,
-0.2737264931201935,
-0.3130243718624115,
-0.2590791583061218,
-0.192815899848938,
-1.9807697534561157,
0.5534988045692444,
-0.2295008897781372,
0.8979135155677795,
-0.2922368347644806,
-0.498335063457489,
0.2616967558860779,
0.8864251375198364,
0.3405170738697052,
-... |
api/mathmlelement/index.md | API - MathMLElement - Instance properties:
Also inherits properties from its parent, `Element`.
- `MathMLElement.attributeStyleMap` (read only): A `StylePropertyMap` representing the declarations of the element's `style` attribute.
- `MathMLElement.autofocus`: Whether the control should be focused when the page loads... | [
0.03149827569723129,
-0.5209382772445679,
-0.28234025835990906,
0.1977051943540573,
0.3558640480041504,
-1.2167565822601318,
1.094831943511963,
0.7509425282478333,
0.5678333640098572,
0.43382370471954346,
-0.6385023593902588,
0.21519285440444946,
-0.12388266623020172,
-0.2210148423910141,
... |
api/mathmlelement/index.md | API - MathMLElement - Instance methods:
This interface also inherits methods from its parent, `Element`.
- `MathMLElement.blur()`: Removes keyboard focus from the currently focused element.
- `MathMLElement.focus()`: Makes the element the current keyboard focus. | [
0.6996718645095825,
0.19362905621528625,
-0.24783863127231598,
-0.2622849941253662,
0.28067725896835327,
-1.5125808715820312,
0.6368319988250732,
-0.32141706347465515,
1.0315533876419067,
-0.2804694175720215,
-0.6628464460372925,
0.25180888175964355,
0.5361038446426392,
0.4376954436302185,... |
api/mathmlelement/index.md | API - MathMLElement - Examples - MathML:
Example:
<math>
<msqrt>
<mi>x</mi>
</msqrt>
</math> | [
-1.2416388988494873,
0.0416172631084919,
-0.5777482986450195,
-0.038238685578107834,
0.0659952163696289,
-1.2825549840927124,
0.4219669997692108,
0.3610989451408386,
0.23793765902519226,
-0.7237939238548279,
-0.7772940397262573,
0.17050842940807343,
0.35632574558258057,
0.35584908723831177... |
api/mathmlelement/index.md | API - MathMLElement - Examples - JavaScript:
Example:
document.querySelector("msqrt").constructor.name; // MathMLElement | [
-0.9094222784042358,
-0.17649902403354645,
-0.3510332703590393,
-0.24541091918945312,
0.3117014169692993,
-1.2880637645721436,
0.17717306315898895,
0.35687512159347534,
-0.04230460897088051,
-0.2254793792963028,
-0.6333391666412354,
0.34502309560775757,
0.0714799165725708,
-0.0760448575019... |
api/mathmlelement/nonce/index.md | API - MathMLElement - nonce:
The `nonce` property of the `MathMLElement` interface returns the `nonce` that is used by Content Security Policy to determine whether a given fetch will be allowed to proceed. | [
0.07825524359941483,
-0.1731744110584259,
0.13329264521598816,
0.5127848982810974,
0.21796879172325134,
-1.5833168029785156,
0.28397202491760254,
0.4750019311904907,
0.31493064761161804,
0.055493228137493134,
-0.33396774530410767,
0.33832743763923645,
-0.17052653431892395,
-0.0300816576927... |
api/mathmlelement/nonce/index.md | API - MathMLElement - nonce - Value:
A String; the cryptographic nonce, or an empty string if no nonce is set. | [
-0.018280403688549995,
0.05582430213689804,
-0.14595699310302734,
0.36233189702033997,
0.4252438545227051,
-1.3954354524612427,
0.7025396823883057,
1.1033393144607544,
-0.11545947194099426,
-0.10179545730352402,
-0.2949029505252838,
-0.21817952394485474,
0.2564637064933777,
-0.184890016913... |
api/mathmlelement/nonce/index.md | API - MathMLElement - nonce - Examples - Retrieving a nonce value:
Example:
const math = document.querySelector("math");
console.log(math.nonce); | [
-0.25487539172172546,
0.17249639332294464,
-0.36594563722610474,
0.4742546081542969,
-0.06774768978357315,
-0.5026949644088745,
0.688170850276947,
0.9089411497116089,
0.17751508951187134,
-0.2806994616985321,
0.03936750441789627,
0.4294487237930298,
0.09419327229261398,
0.10874740779399872... |
api/rtccertificate/getfingerprints/index.md | API - RTCCertificate - getFingerprints:
The `getFingerprints()` method of the `RTCCertificate` interface is used to get an array of certificate fingerprints.
This can be used in application-level code to get certificate fingerprints, which are `hashes` of the certificate created using the various algorithms supported... | [
-0.4878159463405609,
0.17733992636203766,
-0.7354372143745422,
-0.002601027488708496,
0.11486351490020752,
-1.2562845945358276,
0.7223894596099854,
0.4610151946544647,
-0.08973885327577591,
0.06332483887672424,
-0.5368638634681702,
0.07676076889038086,
0.6584616899490356,
0.233158022165298... |
api/rtccertificate/getfingerprints/index.md | API - RTCCertificate - getFingerprints - Syntax:
Example:
getFingerprints() | [
-1.592856526374817,
0.6141133904457092,
-0.24212230741977692,
-0.41460245847702026,
-0.10813482105731964,
-0.27984413504600525,
-0.1450394243001938,
0.38380399346351624,
-0.36316147446632385,
-0.10231747478246689,
0.017185408622026443,
0.18289640545845032,
-0.29017773270606995,
0.752888798... |
api/rtccertificate/getfingerprints/index.md | API - RTCCertificate - getFingerprints - Syntax - Parameters:
None. | [
-0.15882495045661926,
1.0541553497314453,
-0.3344854414463043,
0.3940642178058624,
-0.04979642108082771,
-1.073392391204834,
1.1729521751403809,
0.8448600172996521,
-0.3957112729549408,
-0.21976801753044128,
-0.023922912776470184,
0.49478787183761597,
-0.14733409881591797,
0.72025233507156... |
api/rtccertificate/getfingerprints/index.md | API - RTCCertificate - getFingerprints - Syntax - Return value:
An Array of fingerprint values. Each fingerprint is represented by an object with the following properties:
- `algorithm`: A string indicating the hash function algorithm used to create the fingerprint in `value`. Allowed values include: `"sha-1"`, `"sha... | [
-0.16205398738384247,
-0.03925459086894989,
-0.14798519015312195,
0.40926796197891235,
0.2954201102256775,
-0.9488438963890076,
0.7334610223770142,
0.9419456124305725,
-0.2238716334104538,
0.2600395083427429,
-0.6407002806663513,
0.906278669834137,
0.3974352478981018,
0.6359431743621826,
... |
api/rtccertificate/getfingerprints/index.md | API - RTCCertificate - getFingerprints - Description:
The `RTCCertificate` instances used for a particular `RTCPeerConnection` can created using the `RTCPeerConnection.generateCertificate()` static method or fetched from storage in an IndexedDB, and set in the constructor. If no certificates are passed in the construc... | [
0.3648938536643982,
0.09581302106380463,
-0.5950198769569397,
0.3505733907222748,
0.5482928156852722,
-0.7545490860939026,
0.6862533688545227,
1.141034483909607,
-0.38883599638938904,
0.24054403603076935,
-0.07591547071933746,
1.1375631093978882,
0.03679898381233215,
0.4427489638328552,
... |
api/rtccertificate/getfingerprints/index.md | API - RTCCertificate - getFingerprints - Examples - Getting certificate fingerprints:
This example shows how you might get certificate fingerprints from the local peer and compare them to fingerprints from the remote peer.
First we create a connection and get certificates and their fingerprints. We get the fingerprin... | [
-0.1571732759475708,
0.2743259072303772,
-0.08616684377193451,
0.10349100828170776,
0.45937371253967285,
-0.40316176414489746,
0.10650187730789185,
0.17820750176906586,
0.9743750095367432,
0.08968561142683029,
-0.3005269467830658,
0.7739045023918152,
-0.2983638048171997,
0.4410694241523742... |
api/mediasession/setactionhandler/index.md | API - MediaSession - setActionHandler:
The `setActionHandler()` method of the `MediaSession` interface sets a handler for a media session action. These actions let a web app receive notifications when the user engages a device's built-in physical or onscreen media controls, such as play, stop, or seek buttons. | [
0.337789922952652,
-1.1876404285430908,
-1.469238519668579,
0.5635339021682739,
0.12114724516868591,
-0.9665352702140808,
0.12292101979255676,
1.5953590869903564,
-0.044818758964538574,
-0.12443247437477112,
-0.04907388985157013,
0.8810458779335022,
0.3127429783344269,
0.33556216955184937,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.