file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
api/paymentrequest/paymentmethodchange_event/index.md
API - PaymentRequest - paymentmethodchange event: Secure context: This feature is available only in secure contexts (HTTPS). The `paymentmethodchange` event is delivered the Payment Request API to a `PaymentRequest` object when the user changes the payment method within a given payment handler. For example, if the ...
[ 0.43096956610679626, 0.03232244402170181, -0.5786994695663452, -0.1436576098203659, -0.05188394710421562, -0.8572052717208862, 0.6248829960823059, 1.7121835947036743, -0.010632552206516266, 0.04474594444036484, 0.8603649735450745, 0.7912660241127014, 0.46823152899742126, -0.146871328353881...
api/paymentrequest/paymentmethodchange_event/index.md
API - PaymentRequest - paymentmethodchange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("paymentmethodchange", (event) => { }) onpaymentmethodchange = (event) => { }
[ 0.06778647750616074, 0.10363388806581497, -0.40332695841789246, 0.24309054017066956, -0.17652684450149536, -1.1962915658950806, 0.7090415358543396, 0.9179613590240479, -0.21108359098434448, 0.02692563831806183, 0.325167715549469, 0.15514257550239563, 0.4282381534576416, 0.06477243453264236...
api/paymentrequest/paymentmethodchange_event/index.md
API - PaymentRequest - paymentmethodchange event - Event type: A `PaymentMethodChangeEvent`. Inherits from `Event`.
[ 0.032803766429424286, -0.23897702991962433, -0.039919208735227585, 0.32125553488731384, -0.5114553570747375, -0.6358599066734314, 0.16377127170562744, 0.5848200917243958, 0.3750998377799988, 0.1527690440416336, 0.6257044672966003, 0.30411285161972046, -0.2988379895687103, -0.15812891721725...
api/paymentrequest/paymentmethodchange_event/index.md
API - PaymentRequest - paymentmethodchange event - Examples: Let's take a look at an example. This code creates a new `PaymentRequest`, adds a handler for the `paymentmethodchange` event by calling the request's `addEventListener()`, then calls `show()` to present the payment interface to the user. The code assumes t...
[ -0.057081107050180435, 0.0076329875737428665, -0.17319990694522858, -0.32978272438049316, 0.09617148339748383, -0.5562607645988464, 0.05361609905958176, 0.5274975895881653, 0.6370213627815247, 0.4325076639652252, 0.39199844002723694, 0.36885538697242737, 0.3043878972530365, 0.2732176184654...
api/paymentrequest/shippingaddresschange_event/index.md
API - PaymentRequest - shippingaddresschange event: Secure context: This feature is available only in secure contexts (HTTPS). Deprecated: This feature is no longer recommended. Non-standard: This feature is not standardized. The `shippingaddresschange` event is sent to the `PaymentRequest` object when the user selec...
[ -0.12113004922866821, -0.5024933815002441, -0.1416863054037094, -0.07857997715473175, 0.14863769710063934, -1.128105878829956, 0.7709740400314331, 1.5018409490585327, 0.22836104035377502, -0.2716761529445648, 0.814211368560791, 1.0079584121704102, 0.09842106699943542, 0.2845008075237274, ...
api/paymentrequest/shippingaddresschange_event/index.md
API - PaymentRequest - shippingaddresschange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("shippingaddresschange", (event) => { }) onshippingaddresschange = (event) => { }
[ -0.18616048991680145, -0.6239879727363586, -0.27439069747924805, 0.17133130133152008, -0.13269266486167908, -1.3478704690933228, 0.4720127582550049, 0.6875008344650269, 0.26297980546951294, -0.3431559205055237, 0.2286878526210785, 0.191017746925354, -0.08955089747905731, -0.107084006071090...
api/paymentrequest/shippingaddresschange_event/index.md
API - PaymentRequest - shippingaddresschange event - Event type: A `PaymentRequestUpdateEvent`. Inherits from `Event`.
[ -0.6081173419952393, -0.30426353216171265, 0.4889656901359558, -0.12194111943244934, -0.32738950848579407, -0.7658704519271851, 0.4428669810295105, 0.39596495032310486, 0.14029736816883087, 0.27616995573043823, 0.9504184722900391, 0.6284605860710144, -0.34918278455734253, 0.118792608380317...
api/paymentrequest/shippingaddresschange_event/index.md
API - PaymentRequest - shippingaddresschange event - Usage notes: Depending on the browser, the shipping address information may be redacted for privacy reasons. That is, the `PaymentAddress` which contains the shipping address may have some portions of its content altered, obscured, or left out entirely in order to p...
[ 0.034702714532613754, -0.737728476524353, -0.4607923924922943, 0.012946214526891708, 0.17653986811637878, -0.7785488963127136, 0.34723272919654846, 1.7860386371612549, -0.03406858816742897, 0.3724326491355896, 0.947913646697998, 1.2477999925613403, -0.3110089898109436, -0.02429696545004844...
api/paymentrequest/shippingaddresschange_event/index.md
API - PaymentRequest - shippingaddresschange event - Example: In this example, a handler for the `shippingaddresschange` event is set up to validate that the address meets requirements set by the web application. Example: const paymentRequest = new PaymentRequest(methodData, details, options); paymentRequest.addEve...
[ -0.4543452262878418, -0.951438844203949, -0.1168045625090599, 0.10844846069812775, 0.3689892888069153, -1.3983429670333862, 0.40363243222236633, 0.6066531538963318, 0.5440172553062439, -0.18903765082359314, 0.18059255182743073, 0.6982260346412659, -0.35416293144226074, -0.01373616978526115...
api/paymentrequest/shippingoptionchange_event/index.md
API - PaymentRequest - shippingoptionchange event: Secure context: This feature is available only in secure contexts (HTTPS). Deprecated: This feature is no longer recommended. Non-standard: This feature is not standardized. For payment requests that request shipping information, and for which shipping options are of...
[ -0.33443522453308105, -0.4638032019138336, -0.3891969919204712, 0.29280805587768555, 0.1936449110507965, -1.1370681524276733, 0.47990602254867554, 1.5077165365219116, 0.07725274562835693, 0.22898702323436737, 0.8199606537818909, 0.9572412967681885, 0.18969926238059998, 0.12643460929393768,...
api/paymentrequest/shippingoptionchange_event/index.md
API - PaymentRequest - shippingoptionchange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("shippingoptionchange", (event) => { }) onshippingoptionchange = (event) => { }
[ -0.21008436381816864, -0.6747316718101501, -0.46975597739219666, 0.30136826634407043, -0.2271820455789566, -1.2374382019042969, 0.2867183983325958, 0.7165586948394775, 0.4496775269508362, -0.01882101595401764, 0.5388429164886475, 0.10779105126857758, -0.12590870261192322, -0.07974041998386...
api/paymentrequest/shippingoptionchange_event/index.md
API - PaymentRequest - shippingoptionchange event - Event type: A `PaymentRequestUpdateEvent`. Inherits from `Event`.
[ -0.6265206933021545, -0.32443535327911377, 0.32852503657341003, 0.18807613849639893, -0.4910842478275299, -0.803225576877594, 0.6337601542472839, 0.6368165612220764, -0.15570537745952606, 0.43971574306488037, 1.0046586990356445, 0.4946378469467163, -0.4328474700450897, 0.07041589915752411,...
api/paymentrequest/shippingoptionchange_event/index.md
API - PaymentRequest - shippingoptionchange event - Examples: This code snippet sets up a handler for the `shippingoptionchange` event. The code recalculates the total charge for the payment based on the selected shipping option. For example, if there are three options (such as "Free ground shipping", "2-day air", and...
[ -0.40042752027511597, -0.7678982615470886, -0.08622391521930695, 0.278239369392395, 0.2465704083442688, -1.2572870254516602, 0.42544931173324585, 1.1219213008880615, 0.392576664686203, 0.16700805723667145, 0.33551329374313354, 0.7782512903213501, -0.17339739203453064, 0.4948861002922058, ...
api/paymentrequest/merchantvalidation_event/index.md
API - PaymentRequest - merchantvalidation event: Secure context: This feature is available only in secure contexts (HTTPS). Deprecated: This feature is no longer recommended. Non-standard: This feature is not standardized. `merchantvalidation` events are delivered by the Payment Request API to a `PaymentRequest` obje...
[ 0.1484849900007248, -0.35055387020111084, -0.20782023668289185, 0.43603840470314026, 0.1963983178138733, -0.6885448694229126, 0.3631274104118347, 0.7379110455513, -0.009094730019569397, 0.22213387489318848, 0.16138605773448944, 0.8224118947982788, 0.3756502866744995, 0.3207031488418579, ...
api/paymentrequest/merchantvalidation_event/index.md
API - PaymentRequest - merchantvalidation event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("merchantvalidation", (event) => { }) onmerchantvalidation = (event) => { }
[ -0.036846015602350235, -0.7191078662872314, 0.15614008903503418, 0.4319978654384613, -0.18478576838970184, -0.8160420656204224, 0.0845331996679306, 0.48770374059677124, 0.22319597005844116, -0.10280441492795944, 0.17883311212062836, -0.07780756056308746, 0.19902293384075165, 0.102031275629...
api/paymentrequest/merchantvalidation_event/index.md
API - PaymentRequest - merchantvalidation event - Event type: A `MerchantValidationEvent`. Inherits from `Event`.
[ -0.33703336119651794, -0.41248759627342224, 0.5070119500160217, 0.11643952131271362, 0.089432492852211, -0.671213686466217, -0.19536401331424713, 0.4097839593887329, 0.542587161064148, 0.09880918264389038, 0.512284517288208, 0.04215977340936661, -0.12080315500497818, 0.12120212614536285, ...
api/paymentrequest/merchantvalidation_event/index.md
API - PaymentRequest - merchantvalidation event - Examples: In this example, an event handler is established for the `merchantvalidation` event. It uses the `fetch()` to send a request to its own server with an argument of the payment method's validation URL, obtained from the event's `validationURL` property. The mer...
[ -0.22227053344249725, -0.6999034285545349, 0.07306034117937088, 0.2884051501750946, 0.3822444975376129, -0.9511343240737915, -0.23080290853977203, 0.735516369342804, 0.5734020471572876, 0.3870605528354645, -0.03350956365466118, 0.6679365038871765, -0.23335495591163635, 0.3792208731174469, ...
api/securitypolicyviolationevent/securitypolicyviolationevent/index.md
API - SecurityPolicyViolationEvent: Note: This feature is available in Web Workers. The `SecurityPolicyViolationEvent()` constructor creates a new `SecurityPolicyViolationEvent` object.
[ -0.24814774096012115, 0.09965676069259644, 0.2268766462802887, 0.47267669439315796, -0.6375916004180908, -1.4972147941589355, -0.20962464809417725, 0.3971204459667206, 0.016367629170417786, 0.34390366077423096, 0.4933323264122009, 0.9022440314292908, -0.24351103603839874, -0.41933679580688...
api/securitypolicyviolationevent/securitypolicyviolationevent/index.md
API - SecurityPolicyViolationEvent - Syntax: Example: new SecurityPolicyViolationEvent(type) new SecurityPolicyViolationEvent(type, options)
[ -0.35268324613571167, -0.42408305406570435, -0.3479216694831848, 0.2439778745174408, -1.2573028802871704, -0.8797170519828796, 0.3657453656196594, 1.1706879138946533, 1.0386723279953003, 0.32187727093696594, 1.0432672500610352, -0.08106095343828201, 0.07446301728487015, -0.4111256897449493...
api/securitypolicyviolationevent/securitypolicyviolationevent/index.md
API - SecurityPolicyViolationEvent - Syntax - Parameters: - `type`: A string with the name of the event. It is case-sensitive and browsers always set it to `securitypolicyviolation`. - `options` (optional): An object that, in addition of the properties defined in `Event()`, can have the following properties: - `bloc...
[ -0.0829009860754013, -0.5028072595596313, -0.3188087046146393, 0.549441397190094, -0.3215852677822113, -1.3181824684143066, 0.26171252131462097, 0.43461641669273376, 0.8500108122825623, 0.35455989837646484, -1.0768014192581177, 0.06329354643821716, -0.22910034656524658, 0.0782531350851059,...
api/securitypolicyviolationevent/securitypolicyviolationevent/index.md
API - SecurityPolicyViolationEvent - Syntax - Return value: A new `SecurityPolicyViolationEvent` object.
[ -0.52846360206604, -0.12898021936416626, 0.17394711077213287, 0.27164193987846375, -0.7801394462585449, -0.6824831366539001, -0.11045929789543152, 0.12945806980133057, -0.2576620578765869, 0.5470388531684875, 0.23695528507232666, 0.9215422868728638, -0.03993138670921326, 0.1390130072832107...
api/securitypolicyviolationevent/securitypolicyviolationevent/index.md
API - SecurityPolicyViolationEvent - Examples: Example: let SPVEvt = new SecurityPolicyViolationEvent("foo", {/* ... */});
[ -0.46540969610214233, -0.40802985429763794, -0.5054037570953369, 0.5589275360107422, -0.8332459330558777, -1.0466505289077759, 0.6127226948738098, 0.8744180798530579, 0.13895970582962036, 0.3241390883922577, 0.8960281610488892, 0.24006539583206177, -0.39149370789527893, -0.7262144088745117...
api/cssmathmax/index.md
API - CSSMathMax: The `CSSMathMax` interface of the CSS Typed Object Model API represents the CSS `max()` function. It inherits properties and methods from its parent `CSSNumericValue`.
[ 0.10748365521430969, -0.9342203736305237, -0.3542054295539856, 0.1158740371465683, -0.08160138130187988, -1.6713688373565674, -0.14069205522537231, 0.25849130749702454, 1.0633039474487305, 0.12758666276931763, -0.5419116020202637, 0.32101863622665405, 0.5209658741950989, 0.1408916413784027...
api/cssmathmax/index.md
API - CSSMathMax - Constructor: - `CSSMathMax()` (experimental): Creates a new `CSSMathMax` object.
[ -1.1116676330566406, 0.15111294388771057, -0.2549480199813843, -0.005545120686292648, -0.11545418202877045, -1.4467978477478027, 0.30104178190231323, 0.6766920685768127, -0.052152812480926514, 0.21738268435001373, 0.02473568543791771, 0.37149789929389954, 0.2588210999965668, -0.19134806096...
api/cssmathmax/index.md
API - CSSMathMax - Instance properties: - `CSSMathMax.values` (read only): Returns a `CSSNumericArray` object which contains one or more `CSSNumericValue` objects.
[ -0.6607376933097839, 0.416144460439682, -0.3596230447292328, 0.07490602880716324, -0.44232356548309326, -1.588597297668457, 0.4358491599559784, 0.2742881178855896, 0.21157804131507874, -0.010784514248371124, 0.1429106891155243, 0.5204499363899231, 0.9102804660797119, -0.3031717538833618, ...
api/cssmathmax/index.md
API - CSSMathMax - Static methods: The interface may also inherit methods from its parent interface, `CSSMathValue`.
[ -0.06951045989990234, 0.5788542032241821, 0.043692126870155334, -0.08541795611381531, -0.27527129650115967, -1.1778678894042969, 0.039966218173503876, 0.23447290062904358, 1.0033385753631592, -0.03276409953832626, -0.43000635504722595, 0.6503223180770874, 0.495888352394104, -0.332301437854...
api/cssmathmax/index.md
API - CSSMathMax - Instance methods: The interface may also inherit methods from its parent interface, `CSSMathValue`.
[ 0.015733230859041214, 0.8658812642097473, -0.21539998054504395, -0.011896051466464996, -0.42911064624786377, -1.3383753299713135, 0.5874372124671936, 0.3138500154018402, 0.5653353929519653, 0.08065644651651382, -0.15718421339988708, 0.5433266758918762, 0.5331531763076782, -0.26046264171600...
api/cssmathmax/index.md
API - CSSMathMax - Examples: To do
[ -0.8157986998558044, 0.9407649040222168, -0.07593537122011185, 0.18214787542819977, 0.05677202343940735, -0.7416198253631592, 1.0311278104782104, 0.6728405952453613, -0.22174948453903198, 0.5242507457733154, 0.33374568819999695, 1.1169111728668213, 0.154672771692276, -0.46262940764427185, ...
api/cssmathmax/cssmathmax/index.md
API - CSSMathMax: The `CSSMathMax()` constructor creates a new `CSSMathMax` object which represents the CSS `max()` function.
[ -0.3802153170108795, 0.11440697312355042, -0.7240592837333679, -0.136032372713089, 0.44187259674072266, -1.5211679935455322, 0.5210099220275879, 0.8642566800117493, -0.41180258989334106, 0.16465270519256592, 0.24923214316368103, 0.4611467123031616, -0.22876182198524475, 0.15828770399093628...
api/cssmathmax/cssmathmax/index.md
API - CSSMathMax - Syntax: Example: new CSSMathMax(args)
[ -0.6843162775039673, -0.007580731995403767, -0.4014563262462616, -0.192512646317482, -0.07622779160737991, -1.8976739645004272, 0.007775492966175079, 0.5873404741287231, 0.7657020092010498, -0.2943963408470154, -0.10231094807386398, 0.8911652565002441, 0.151018887758255, 0.0163357853889465...
api/cssmathmax/cssmathmax/index.md
API - CSSMathMax - Syntax - Parameters: - `args`: A list of numbers or `CSSNumericValue` objects.
[ 0.5289290547370911, 0.5392060279846191, -0.6973602771759033, -0.018226006999611855, -0.09894432127475739, -2.172715187072754, 0.5163549780845642, 0.8601338863372803, -0.007201053202152252, 0.2849208414554596, -0.35060903429985046, 0.2209593951702118, -0.18327666819095612, 0.210519939661026...
api/cssmathmax/cssmathmax/index.md
API - CSSMathMax - Syntax - Exceptions: - `TypeError`: Thrown if there is a failure when adding all of the values in args.
[ -0.4513270854949951, 0.343833863735199, -0.5649186968803406, 0.08760470151901245, -0.5256060361862183, -1.3907296657562256, 0.8871511220932007, 0.6885119676589966, 0.24203962087631226, -0.13700158894062042, -0.09566377103328705, 0.648859977722168, 0.5753982067108154, 0.13221147656440735, ...
api/cssmathmax/cssmathmax/index.md
API - CSSMathMax - Examples: To do
[ -0.8157986998558044, 0.9407649040222168, -0.07593537122011185, 0.18214787542819977, 0.05677202343940735, -0.7416198253631592, 1.0311278104782104, 0.6728405952453613, -0.22174948453903198, 0.5242507457733154, 0.33374568819999695, 1.1169111728668213, 0.154672771692276, -0.46262940764427185, ...
api/cssmathmax/values/index.md
API - CSSMathMax - values: The CSSMathMax.values read-only property of the `CSSMathMax` interface returns a `CSSNumericArray` object which contains one or more `CSSNumericValue` objects.
[ 0.07681852579116821, 0.5435677766799927, -0.7093202471733093, 0.10146667063236237, -0.1490749716758728, -1.1709325313568115, 0.6317169666290283, 1.1495890617370605, 0.6601352095603943, -0.10527942329645157, 0.08722288906574249, 0.2642710506916046, 0.6144474148750305, 0.169202983379364, 0...
api/cssmathmax/values/index.md
API - CSSMathMax - values - Value: A `CSSNumericArray`.
[ -0.2812013626098633, 0.5333664417266846, -0.4716719090938568, -0.2800913453102112, 0.031239651143550873, -1.5847584009170532, 0.9803309440612793, 0.3179839849472046, -0.1124846488237381, 0.24118785560131073, 0.23963123559951782, 0.5493369698524475, 0.34542539715766907, 0.40045982599258423,...
api/cssmathmax/values/index.md
API - CSSMathMax - values - Examples: To do
[ -0.8061063885688782, 0.6330562233924866, -0.47480329871177673, 0.1474734991788864, -0.05295456200838089, -0.6650976538658142, 0.8244984745979309, 0.45574256777763367, 0.017309658229351044, 0.06241818144917488, 0.38029003143310547, 0.9839409589767456, 0.38544145226478577, -0.422384798526763...
api/xrsession/visibilitychange_event/index.md
API - XRSession - visibilitychange event: Secure context: This feature is available only in secure contexts (HTTPS). The `visibilitychange` event is sent to an `XRSession` to inform it when it becomes visible or hidden, or when it becomes visible but not currently focused. Upon receiving the event, you can check the ...
[ -0.024018269032239914, -0.43559274077415466, -0.86754310131073, 0.46033042669296265, -0.3176296353340149, -0.6241648197174072, 0.6031183004379272, 1.3782362937927246, 0.6205511093139648, -0.08511850982904434, 0.37139827013015747, 0.5218008160591125, 0.42544111609458923, 0.16425278782844543...
api/xrsession/visibilitychange_event/index.md
API - XRSession - visibilitychange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("visibilitychange", (event) => { }) onvisibilitychange = (event) => { }
[ 0.02670486643910408, -0.4463315010070801, -0.3499568700790405, 0.44278088212013245, -0.792372465133667, -0.9487075209617615, 0.1565445363521576, 0.6419599056243896, 0.6762455701828003, -0.02528950199484825, -0.23442934453487396, -0.14845657348632812, 0.4167536199092865, 0.00728563219308853...
api/xrsession/visibilitychange_event/index.md
API - XRSession - visibilitychange event - Event type: An `XRSessionEvent`. Inherits from `Event`.
[ -0.4606517255306244, -0.32452279329299927, -0.5585113167762756, 0.3722679018974304, -1.184938907623291, -0.6376204490661621, 0.1281590610742569, 0.6904430389404297, 1.0473353862762451, -0.05244130641222, -0.03610379248857498, -0.17455486953258514, 0.4237384498119354, -0.025642268359661102,...
api/xrsession/visibilitychange_event/index.md
API - XRSession - visibilitychange event - Description - Trigger: Triggered when an `XRSession` becomes visible or hidden, or when it becomes visible but not currently focused. When the `XRSession` receives this event, the visibility state has already been changed.
[ -0.6817302703857422, -0.6185315251350403, -0.7260980606079102, 0.3987925946712494, -1.2216349840164185, -0.5216160416603088, 0.5553891658782959, 0.7260076403617859, 0.6024417281150818, 0.15402385592460632, -0.02765129692852497, -0.16150370240211487, 0.6581493020057678, -0.23937498033046722...
api/xrsession/visibilitychange_event/index.md
API - XRSession - visibilitychange event - Description - Use cases: Upon receiving the event, you can check the value of the session's `visibilityState` property to determine the new visibility state.
[ -0.2137829214334488, -0.011958885937929153, -0.231850728392601, 0.526691734790802, -0.7521847486495972, -0.5009130835533142, 0.2670171856880188, 1.167773723602295, 0.5181578397750854, -0.12271419167518616, 0.16142338514328003, 0.5473663210868835, 0.2774468958377838, 0.3803609013557434, 1...
api/xrsession/visibilitychange_event/index.md
API - XRSession - visibilitychange event - Examples: This example demonstrates how to listen for a `visibilitychange` event on a WebXR session, using `addEventListener()` to begin listening for the event: Example: navigator.xr.requestSession("inline").then((xrSession) => { xrSession.addEventListener("visibilitycha...
[ -0.1824568212032318, -0.5389392375946045, -0.1954561322927475, 0.7171148061752319, -0.1487579345703125, -0.7819474935531616, 0.6155162453651428, 0.689633846282959, 0.6709417104721069, 0.5559085607528687, 0.13453994691371918, 0.14900940656661987, 0.35867011547088623, -0.04842093959450722, ...
api/xrsession/squeezeend_event/index.md
API - XRSession - squeezeend event: Secure context: This feature is available only in secure contexts (HTTPS). The WebXR event `squeezeend` is sent to an `XRSession` when one of its input sources ends its primary action or when an input source that's in the process of handling an ongoing primary action is disconnecte...
[ 0.33283179998397827, -0.42200329899787903, -1.1281473636627197, 0.31582120060920715, 0.013716958463191986, -0.4068351089954376, 1.0322602987289429, 1.201347827911377, -0.34171608090400696, 0.5302181243896484, 0.4287892282009125, 1.0547223091125488, 0.09604641795158386, 0.14427872002124786,...
api/xrsession/squeezeend_event/index.md
API - XRSession - squeezeend event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("squeezeend", (event) => { }) onsqueezeend = (event) => { }
[ 0.22530494630336761, -0.140621617436409, -1.1698044538497925, 0.6608873009681702, -0.47643959522247314, -1.1540212631225586, 0.7673496603965759, 0.5950056910514832, -0.16862118244171143, 0.29125362634658813, -0.15684641897678375, 0.19348832964897156, 0.036162495613098145, -0.28918409347534...
api/xrsession/squeezeend_event/index.md
API - XRSession - squeezeend event - Event type: An `XRInputSourceEvent`. Inherits from `Event`.
[ -0.30352330207824707, -0.16929280757904053, -0.795680046081543, 0.3527819514274597, -0.8739714622497559, -1.0250790119171143, 0.2565724849700928, 0.18118812143802643, 0.5878732204437256, 0.18608593940734863, -0.21082033216953278, 0.5230000615119934, 0.4695896506309509, -0.27626898884773254...
api/xrsession/squeezeend_event/index.md
API - XRSession - squeezeend event - Description - Trigger: Triggered when users stop squeezing the controller, making a hand gesture that mimes grabbing something, or using (squeezing) a trigger.
[ -0.22205786406993866, -0.7308904528617859, -1.2291958332061768, 0.44849392771720886, -0.6962871551513672, -1.1025935411453247, 0.2366483509540558, 0.3657415807247162, -0.23165366053581238, 0.41702917218208313, -0.11845004558563232, 0.4932069182395935, 0.6111525893211365, -0.357871651649475...
api/xrsession/squeezeend_event/index.md
API - XRSession - squeezeend event - Description - Use cases: The `squeezestart` event is sent indicating that the user has begun a squeeze action. If the primary squeeze action ends successfully, the session is sent a `squeeze` event. A `squeezeend` event is sent to indicate that the squeeze action is no longer und...
[ -0.38303011655807495, -0.27739059925079346, -1.1191805601119995, 0.6841049790382385, -0.16141605377197266, -1.0978316068649292, 1.055712103843689, 0.32210952043533325, 0.022823095321655273, 0.3386749029159546, -0.17350293695926666, 0.18790653347969055, 0.4005739390850067, -0.22608074545860...
api/xrsession/squeezeend_event/index.md
API - XRSession - squeezeend event - Examples: See the `squeezestart` event for example code.
[ -0.04018528759479523, -0.2058698982000351, -1.0205044746398926, -0.05023068189620972, -0.8184164762496948, -0.35018348693847656, 0.32273244857788086, 0.14779378473758698, -0.001761801540851593, 0.1502990871667862, -0.176003560423851, -0.124221071600914, -0.2504132390022278, -0.036050781607...
api/xrsession/select_event/index.md
API - XRSession - select event: Secure context: This feature is available only in secure contexts (HTTPS). The WebXR `select` event is sent to an `XRSession` when one of the session's input sources has completed a primary action. The `beforexrselect` is fired before this event and can prevent this event from being r...
[ 0.08727326989173889, -0.020244233310222626, -1.2715723514556885, 0.7677013278007507, -0.20463714003562927, -0.32144778966903687, 0.9547634720802307, 1.2183589935302734, -0.31547337770462036, 0.018300389871001244, 0.7214457988739014, 0.8926581740379333, 0.1907130479812622, 0.130884185433387...
api/xrsession/select_event/index.md
API - XRSession - select event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("select", (event) => { }) onselect = (event) => { }
[ 0.27678993344306946, -0.6616964340209961, -0.957432746887207, 0.7863315939903259, -0.5593044757843018, -0.8695067763328552, 0.3416461646556854, 0.19942857325077057, 0.24729183316230774, 0.1898789256811142, 0.20417414605617523, 0.1326204091310501, 0.19795352220535278, -0.3260108232498169, ...
api/xrsession/select_event/index.md
API - XRSession - select event - Event type: An `XRInputSourceEvent`. Inherits from `Event`.
[ -0.273640900850296, -0.6148833632469177, -0.570407509803772, 0.50480717420578, -0.882759153842926, -1.0123809576034546, 0.11785408854484558, 0.43484899401664734, 0.5358948707580566, -0.25573477149009705, 0.035911910235881805, 0.13514287769794464, 0.8971785306930542, -0.34679919481277466, ...
api/xrsession/select_event/index.md
API - XRSession - select event - Description - Trigger: Triggered when a user presses triggers or buttons, taps a touchpad, speaks a command or performs a recognizable gesture when using a video tracking system or handheld controller with an accelerometer.
[ -0.5410733819007874, -1.1287673711776733, -1.4103448390960693, 0.8739453554153442, -0.8507659435272217, -0.9053633809089661, 0.010056469589471817, 0.04438772797584534, 0.018238678574562073, 0.2726497948169708, 0.11883226037025452, 0.15147989988327026, 0.6707425713539124, -0.242616593837738...
api/xrsession/select_event/index.md
API - XRSession - select event - Description - Use cases: The `selectstart` and `selectend` events tell you when you might want to display something to the user indicating that the primary action is going on. This might be drawing a controller with the activated button in a new color, or showing the targeted object be...
[ 0.7939679622650146, -0.6802338361740112, -0.9362579584121704, 0.6511832475662231, -0.4633953273296356, -1.2508985996246338, 0.7902111411094666, 1.261940836906433, -0.19467414915561676, 0.7384475469589233, 0.33651208877563477, 0.2544741630554199, 0.40057411789894104, 0.11093300580978394, ...
api/xrsession/select_event/index.md
API - XRSession - select event - Examples: The following example uses `addEventListener()` to set up a handler for the `select` event. The handler fetches the pose representing the target ray for `tracked-pointer` inputs and sends the pose's transform to a function called `myHandleSelectWithRay()`. Example: xrSessio...
[ -0.1417100429534912, -1.0674169063568115, -0.9226710200309753, 1.343017816543579, -0.16904428601264954, -0.3861275017261505, 0.15384860336780548, 0.7300678491592407, 0.7034045457839966, 0.23464761674404144, -0.1617279052734375, 0.3169587552547455, 0.4731462597846985, 0.04161419719457626, ...
api/xrsession/selectstart_event/index.md
API - XRSession - selectstart event: Secure context: This feature is available only in secure contexts (HTTPS). The WebXR `selectstart` event is sent to an `XRSession` when the user begins a primary action on one of its input sources. The `beforexrselect` is fired before this event and can prevent this event from be...
[ 0.12526851892471313, -0.06256314367055893, -1.2404342889785767, 0.6606770753860474, -0.27783387899398804, -0.35863935947418213, 0.9549737572669983, 1.389217495918274, -0.30413907766342163, 0.05864766612648964, 0.4630761742591858, 0.8134830594062805, 0.14865732192993164, -0.0298276264220476...
api/xrsession/selectstart_event/index.md
API - XRSession - selectstart event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("selectstart", (event) => { }) onselectstart = (event) => { }
[ 0.3570556044578552, -0.30538979172706604, -0.8686416745185852, 0.5952139496803284, -0.7898163795471191, -0.8086309432983398, 0.46031713485717773, 0.38524770736694336, 0.4626743793487549, 0.05163765326142311, -0.18493959307670593, 0.029412783682346344, 0.1320534646511078, -0.296745777130126...
api/xrsession/selectstart_event/index.md
API - XRSession - selectstart event - Event type: An `XRInputSourceEvent`. Inherits from `Event`.
[ -0.05614973232150078, -0.39640408754348755, -0.5376372337341309, 0.520429253578186, -0.793868362903595, -0.7973378896713257, 0.014245256781578064, 0.5035440325737, 0.8308318853378296, -0.5054454803466797, -0.3492773175239563, 0.10717841982841492, 0.7737745046615601, -0.37901121377944946, ...
api/xrsession/selectstart_event/index.md
API - XRSession - selectstart event - Description - Trigger: Triggered when the user presses triggers or buttons, taps a touchpad, speaks a command, or performs a recognizable gesture when using a video tracking system or handheld controller with an accelerometer.
[ -0.27706652879714966, -0.8342717885971069, -1.0845853090286255, 1.1893832683563232, -0.7751402258872986, -0.5310332179069519, 0.22007237374782562, 0.4021621644496918, 0.011255569756031036, 0.1635781079530716, -0.0023123305290937424, 0.07135938107967377, 0.7093151807785034, -0.2394475787878...
api/xrsession/selectstart_event/index.md
API - XRSession - selectstart event - Description - Use cases: The `selectstart` and `selectend` events tell you when you might want to display something to the user indicating that the primary action is going on. This might be drawing a controller with the activated button in a new color, or showing the targeted obje...
[ 0.44286713004112244, -0.8645049333572388, -0.6338444352149963, 0.7472506761550903, -0.5726582407951355, -1.4699242115020752, 0.8737969398498535, 0.7555363178253174, 0.44136130809783936, 0.5805956125259399, 0.0789179727435112, -0.09850220382213593, 0.3610253632068634, -0.2970758080482483, ...
api/xrsession/selectstart_event/index.md
API - XRSession - selectstart event - Examples: The following example uses `addEventListener()` to establish handlers for the selection events: `selectstart`, `selectend`, and `select`. This snippet is the core of an event handler to allow the user to grab objects in the scene and move them around. In this case, a si...
[ 0.799226701259613, -0.21366402506828308, -1.0387322902679443, 1.0263867378234863, 0.577073872089386, -0.6299843788146973, 0.3324246406555176, 1.4488095045089722, -0.7042980194091797, 0.2556574046611786, -0.12140373885631561, 0.4553323984146118, 0.16887639462947845, 0.3582749366760254, 0....
api/xrsession/squeezestart_event/index.md
API - XRSession - squeezestart event: Secure context: This feature is available only in secure contexts (HTTPS). The WebXR event `squeezestart` is sent to an `XRSession` when the user begins a primary squeeze action on one of its input sources. Primary squeeze actions are actions which are meant to represent grippin...
[ 0.3826119005680084, -0.09655139595270157, -1.2972954511642456, 0.13929259777069092, 0.00015459954738616943, -0.46256259083747864, 1.1043426990509033, 1.2289363145828247, -0.11826004087924957, 0.46168944239616394, 0.26302456855773926, 1.0020992755889893, -0.08447116613388062, -0.08435038477...
api/xrsession/squeezestart_event/index.md
API - XRSession - squeezestart event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("squeezestart", (event) => { }) onsqueezestart = (event) => { }
[ 0.30228275060653687, -0.037921734154224396, -0.990836501121521, 0.6963220834732056, -0.5375515222549438, -1.0380568504333496, 0.7071076035499573, 0.4164985120296478, -0.03237852826714516, 0.17292428016662598, 0.07553650438785553, -0.13997459411621094, 0.0823984369635582, -0.186731502413749...
api/xrsession/squeezestart_event/index.md
API - XRSession - squeezestart event - Event type: An `XRInputSourceEvent`. Inherits from `Event`.
[ 0.05018334463238716, -0.28547877073287964, -0.695458173751831, 0.18574748933315277, -0.7644296288490295, -0.8120220303535461, 0.020945318043231964, 0.21361252665519714, 0.9750601053237915, -0.2086467742919922, -0.4110388159751892, 0.31945204734802246, 0.3789082169532776, -0.342288196086883...
api/xrsession/squeezestart_event/index.md
API - XRSession - squeezestart event - Description - Trigger: Triggered when users begin squeezing the controller, making a hand gesture that mimes grabbing something, or using (squeezing) a trigger.
[ -0.060707300901412964, -0.6000303626060486, -1.1751551628112793, 0.3358403444290161, -0.7177900075912476, -0.9141606092453003, 0.39398738741874695, 0.38632747530937195, -0.0894007533788681, 0.41916748881340027, -0.21534202992916107, 0.40039780735969543, 0.5030307769775391, -0.2790281772613...
api/xrsession/squeezestart_event/index.md
API - XRSession - squeezestart event - Description - Use cases: The `squeezestart` event is sent indicating that the user has begun a squeeze action. If the primary squeeze action ends successfully, the session is sent a `squeeze` event. A `squeezeend` event is sent to indicate that the squeeze action is no longer u...
[ -0.3821222484111786, -0.15101586282253265, -0.8648634552955627, 0.6709600687026978, -0.18737351894378662, -0.991661548614502, 0.8865350484848022, 0.1117902398109436, 0.27526259422302246, 0.21653543412685394, -0.07256181538105011, 0.10804714262485504, 0.41198915243148804, -0.196532443165779...
api/xrsession/squeezestart_event/index.md
API - XRSession - squeezestart event - Examples: The following example uses `addEventListener()` to establish handlers for the squeeze events: `squeezestart`, `squeezeend`, and `squeeze`. This snippet is the core of an event handler to allow the user to grab objects in the scene and move them around. In this case, a ...
[ -0.0005227646324783564, 0.02836231142282486, -0.6148356199264526, 0.6418358683586121, 0.3195533752441406, -0.7358871102333069, 0.7674176096916199, 0.8442326188087463, -0.29643720388412476, 0.3327512741088867, -0.46799832582473755, 0.11143828928470612, -0.06696484982967377, -0.1269305944442...
api/xrsession/selectend_event/index.md
API - XRSession - selectend event: Secure context: This feature is available only in secure contexts (HTTPS). The WebXR event `selectend` is sent to an `XRSession` when one of its input sources ends its primary action or when an input source that's in the process of handling an ongoing primary action is disconnected ...
[ -0.4799697697162628, -0.2844286561012268, -0.6283981800079346, 0.8194615840911865, -0.4229761064052582, -1.0004491806030273, 0.8957341909408569, 0.4653639793395996, -0.09128061681985855, 0.4248198866844177, 0.4667604863643646, 0.6093540787696838, 0.8290726542472839, -0.5051720142364502, ...
api/xrsession/selectend_event/index.md
API - XRSession - selectend event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("selectend", (event) => { }) onselectend = (event) => { }
[ 0.24793538451194763, -0.5287511944770813, -0.9189099669456482, 0.5373499393463135, -0.6991137266159058, -0.9962301850318909, 0.6531415581703186, 0.3633033037185669, 0.4125136137008667, 0.03574759513139725, 0.12960456311702728, 0.22228941321372986, 0.27975523471832275, -0.2726017236709595, ...
api/xrsession/selectend_event/index.md
API - XRSession - selectend event - Event type: An `XRInputSourceEvent`. Inherits from `Event`.
[ -0.1364298313856125, -0.6329622268676758, -0.6123266816139221, 0.5418641567230225, -0.8452436923980713, -1.0725589990615845, 0.2048162966966629, 0.4555399417877197, 0.6907268166542053, -0.363679975271225, -0.2222210019826889, 0.15993639826774597, 0.8195834159851074, -0.351579487323761, 0...
api/xrsession/selectend_event/index.md
API - XRSession - selectend event - Description - Trigger: Triggered when the user stops to press triggers or buttons, taps a touchpad, speaks a command, or performs a recognizable gesture when using a video tracking system or handheld controller with an accelerometer.
[ -0.29803088307380676, -1.1506839990615845, -1.2495052814483643, 1.0215849876403809, -0.5950042009353638, -1.0425928831100464, 0.022657260298728943, 0.5283893942832947, -0.02412937954068184, 0.15561538934707642, -0.04207032918930054, 0.1377885639667511, 0.8254661560058594, -0.26573222875595...
api/xrsession/selectend_event/index.md
API - XRSession - selectend event - Description - Use cases: The `selectend` and `selectstart` events tell you when you might want to display something to the user indicating that the primary action is going on. This might be drawing a controller with the activated button in a new color, or showing the targeted object...
[ 0.545642077922821, -0.598227858543396, -0.7959895133972168, 0.6329174041748047, -0.4966277480125427, -1.7026610374450684, 0.9267984628677368, 0.6803063154220581, 0.26153329014778137, 0.7434524893760681, 0.09170026332139969, -0.07806026190519333, 0.3857303261756897, -0.15195584297180176, ...
api/xrsession/selectend_event/index.md
API - XRSession - selectend event - Examples: See the `selectstart` event for example code.
[ 0.1573527604341507, -0.23024220764636993, -0.8490017056465149, 0.5522172451019287, -1.1196117401123047, -0.8284192085266113, 0.6489434838294983, 0.0954248309135437, -0.07579897344112396, 0.19360819458961487, 0.1378907710313797, 0.20244541764259338, 0.1469593197107315, 0.020044513046741486,...
api/xrsession/inputsourceschange_event/index.md
API - XRSession - inputsourceschange event: Secure context: This feature is available only in secure contexts (HTTPS). The `inputsourceschange` event is sent to an `XRSession` when the set of available WebXR input devices changes.
[ -0.15452532470226288, -0.21197812259197235, -1.629170298576355, 0.9988100528717041, -0.42055803537368774, -0.9962123036384583, 1.077651858329773, 1.074194073677063, 0.0746016651391983, -0.32104426622390747, 0.2642068862915039, 0.6359692811965942, 0.5656512975692749, -0.0007677748799324036,...
api/xrsession/inputsourceschange_event/index.md
API - XRSession - inputsourceschange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("inputsourceschange", (event) => { }) oninputsourceschange = (event) => { }
[ 0.07074733823537827, -0.585512101650238, -1.3092149496078491, 1.0716711282730103, -0.587891697883606, -1.412407398223877, 0.5927560925483704, 0.43475568294525146, 0.47617435455322266, -0.1968235820531845, -0.13367027044296265, 0.001885630190372467, 0.7615692019462585, -0.46105191111564636,...
api/xrsession/inputsourceschange_event/index.md
API - XRSession - inputsourceschange event - Event type: An `XRInputSourcesChangeEvent`. Inherits from `Event`.
[ -0.1840037852525711, -0.48110225796699524, -0.8235073685646057, 0.6097596287727356, -0.8526806831359863, -1.1804778575897217, 0.2955341637134552, 0.432930052280426, 0.8625401854515076, -0.46995314955711365, -0.24849513173103333, -0.18526405096054077, 0.9294061064720154, -0.1544551253318786...
api/xrsession/inputsourceschange_event/index.md
API - XRSession - inputsourceschange event - Description - Trigger: Triggered when the set of available WebXR input devices changes.
[ -0.19054877758026123, -0.6848491430282593, -1.4690663814544678, 0.06411464512348175, -0.8960462212562561, -0.9899487495422363, 0.33623164892196655, 0.06943795830011368, 0.44387638568878174, 0.34764179587364197, 0.1509004682302475, 0.20125383138656616, 0.4867514967918396, 0.2780860960483551...
api/xrsession/inputsourceschange_event/index.md
API - XRSession - inputsourceschange event - Description - Use cases: You can use this event to detect newly-available devices or when devices have become unavailable.
[ 0.07146406918764114, -0.4891568422317505, -0.7499040365219116, 0.6871761083602905, -0.41133803129196167, -1.1609824895858765, 0.09255842864513397, 0.15798473358154297, 0.42448920011520386, 0.10589946806430817, -0.28165245056152344, -0.07794506847858429, 0.7201387286186218, -0.0667748823761...
api/xrsession/inputsourceschange_event/index.md
API - XRSession - inputsourceschange event - Examples: The following example shows how to set up an event handler which uses `inputsourceschange` events to detect newly-available pointing devices and to load their models in preparation for displaying them in the next animation frame. Example: xrSession.addEventListe...
[ 0.06841790676116943, -1.2951160669326782, -0.9389321804046631, 1.1520007848739624, -0.1611611545085907, -0.6962847113609314, 0.42009761929512024, 0.7137978076934814, 0.3718382716178894, -0.14943024516105652, 0.016405370086431503, -0.009998984634876251, 1.2290821075439453, -0.05971736460924...
api/xrsession/visibilitymaskchange_event/index.md
API - XRSession - visibilitymaskchange event: Secure context: This feature is available only in secure contexts (HTTPS). The `visibilitymaskchange` event is sent to an `XRSession` when the portion of an `XRView` visible to the user changes. Note that the view is associated with a particular eye, and the part that is...
[ 0.2188776731491089, -0.14236752688884735, -0.33737966418266296, 0.4174746870994568, -0.14136561751365662, -0.6091991662979126, 0.798606276512146, 1.3024243116378784, 0.32445645332336426, 0.269013375043869, 0.5798400044441223, 0.48183465003967285, 0.3528635799884796, 0.5036856532096863, -...
api/xrsession/visibilitymaskchange_event/index.md
API - XRSession - visibilitymaskchange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("visibilitymaskchange", (event) => { }) onvisibilitymaskchange = (event) => { }
[ 0.17711174488067627, -0.7367841005325317, -0.789444088935852, 0.9056628942489624, -0.8624210357666016, -1.5902148485183716, 0.46956849098205566, 0.7358066439628601, 0.47580254077911377, 0.16401886940002441, -0.27548256516456604, 0.09396930038928986, 0.36206141114234924, -0.0734620168805122...
api/xrsession/visibilitymaskchange_event/index.md
API - XRSession - visibilitymaskchange event - Event type: An `XRVisibilityMaskChangeEvent`. Inherits from `Event`.
[ -0.17225833237171173, -0.4692898094654083, -0.5279527306556702, 0.614105761051178, -1.138312578201294, -0.9895747900009155, -0.10373634845018387, 0.333823561668396, 1.3527601957321167, 0.10708075016736984, -0.14191895723342896, -0.048857904970645905, 0.26191726326942444, -0.131453841924667...
api/xrsession/visibilitymaskchange_event/index.md
API - XRSession - visibilitymaskchange event - Examples - Three.js example: This snippet shows how `visibilitymaskchange` might be used to draw only the visible portion of the `XRView` in a Three.js application. The new view must be drawn using the `XRView.projectionMatrix` of the relevant `XRView` and a default `XRRi...
[ 0.1571497917175293, -0.40638935565948486, -0.17365959286689758, 0.4904869794845581, 0.017306625843048096, -1.0127835273742676, 0.22190219163894653, 0.6535689234733582, 0.15788669884204865, 0.425663560628891, -0.42237475514411926, 0.6537089943885803, 0.42175737023353577, -0.2217954248189926...
api/xrsession/squeeze_event/index.md
API - XRSession - squeeze event: Secure context: This feature is available only in secure contexts (HTTPS). The WebXR `squeeze` event is sent to an `XRSession` when one of the session's input sources has completed a primary squeeze action. Examples of common kinds of primary action are users pressing triggers or butt...
[ 0.2444872260093689, -0.5005219578742981, -1.2614414691925049, 0.4958404302597046, 0.18831801414489746, -0.3097898066043854, 1.0168044567108154, 1.133670687675476, -0.3175363838672638, 0.5383714437484741, 0.6671726703643799, 1.0069105625152588, 0.019451405853033066, 0.23254555463790894, 0...
api/xrsession/squeeze_event/index.md
API - XRSession - squeeze event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("squeeze", (event) => { }) onsqueeze = (event) => { }
[ 0.13303251564502716, -0.05413204804062843, -0.9135379195213318, 0.4297100603580475, -0.2681911587715149, -1.060036540031433, 0.6782073974609375, 0.38601741194725037, 0.2831219434738159, 0.2984119951725006, 0.036627985537052155, 0.2077144980430603, -0.1447223275899887, -0.3919253349304199, ...
api/xrsession/squeeze_event/index.md
API - XRSession - squeeze event - Event type: An `XRInputSourceEvent`. Inherits from `Event`.
[ -0.2295849621295929, -0.35573405027389526, -0.6601017713546753, 0.11848467588424683, -0.66047203540802, -0.9393188953399658, -0.00038180872797966003, 0.2779170274734497, 0.735032856464386, 0.18514686822891235, -0.143256276845932, 0.32304102182388306, 0.4604397416114807, -0.2237770557403564...
api/xrsession/squeeze_event/index.md
API - XRSession - squeeze event - Description - Trigger: Triggered when users are squeezing the controller, making a hand gesture that mimes grabbing something, or using (squeezing) a trigger.
[ -0.24766431748867035, -0.6593040823936462, -1.2721576690673828, 0.38731998205184937, -0.5627273321151733, -1.2050687074661255, 0.5695049166679382, 0.3923755884170532, -0.1469864845275879, 0.516301691532135, -0.09461182355880737, 0.4766994118690491, 0.7711677551269531, -0.3006848692893982, ...
api/xrsession/squeeze_event/index.md
API - XRSession - squeeze event - Description - Use cases: The `squeezestart` event indicates that the user has begun a squeeze action. If the primary squeeze action ends successfully, the session is sent a `squeeze` event. A `squeezeend` event is sent to indicate that the squeeze action is no longer underway. This ...
[ 0.14420229196548462, -0.33212360739707947, -1.3316746950149536, 0.3897114396095276, -0.2969762086868286, -0.8082849979400635, 0.7650533318519592, 0.878253698348999, -0.304440438747406, 0.21807332336902618, 0.05942089855670929, 0.6672744750976562, 0.11566033959388733, 0.1401003748178482, ...
api/xrsession/squeeze_event/index.md
API - XRSession - squeeze event - Examples: The following example uses `addEventListener()` to set up a handler for the `squeeze` event. The handler fetches the pose representing the target ray for `tracked-pointer` inputs and sends the pose's transform to a function called `myHandleSqueezeWithRay()`. This code treat...
[ -0.009720548056066036, -0.630959689617157, -0.5060040950775146, 0.7284998297691345, 0.2630148231983185, -0.7271188497543335, 0.20111681520938873, 0.45826905965805054, 0.8088348507881165, 0.46141672134399414, -0.3341165781021118, 0.29836687445640564, 0.25048378109931946, -0.2272593080997467...
api/xrsession/end_event/index.md
API - XRSession - end event: Secure context: This feature is available only in secure contexts (HTTPS). An `end` event is fired at an `XRSession` object when the WebXR session has ended, either because the web application has chosen to stop the session, or because the `user agent` terminated the session.
[ -0.08370660990476608, -0.31240135431289673, -1.1389721632003784, 0.48310691118240356, -0.7022596597671509, -0.6015394926071167, 0.5870401859283447, 0.9060114026069641, -0.4234149158000946, -0.019990209490060806, 0.39520999789237976, 0.8225041031837463, 0.4520423710346222, 0.214099228382110...
api/xrsession/end_event/index.md
API - XRSession - end event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("end", (event) => { }) onend = (event) => { }
[ 0.5190991163253784, -0.5885760188102722, -0.7736823558807373, 0.34300369024276733, -0.8151918053627014, -1.2506846189498901, 0.41317465901374817, 0.3609011471271515, 0.2746438682079315, -0.2519087493419647, -0.21238411962985992, 0.10978911817073822, 0.260174959897995, -0.28562331199645996,...
api/xrsession/end_event/index.md
API - XRSession - end event - Event type: An `XRSessionEvent`. Inherits from `Event`.
[ 0.049188755452632904, -0.28088241815567017, -0.8208889365196228, 0.20859967172145844, -1.3448418378829956, -0.7249873280525208, 0.5817880630493164, 0.14856600761413574, -0.12640982866287231, -0.21314817667007446, 0.06757116317749023, -0.22890502214431763, 0.13294225931167603, 0.08375610411...
api/xrsession/end_event/index.md
API - XRSession - end event - Description - Trigger: Triggered when the WebXR session has ended, either because the web application has chosen to stop the session, or because the `user agent` terminated the session. This event is not cancelable and does not bubble.
[ -0.927158534526825, -0.4788803160190582, -1.005805492401123, 0.30307844281196594, -1.2351411581039429, -1.0042567253112793, 0.8332244753837585, 0.5472588539123535, -0.3224118947982788, 0.4369892477989197, 0.016415227204561234, 0.4243346154689789, 0.4582471549510956, -0.007314097136259079, ...
api/xrsession/end_event/index.md
API - XRSession - end event - Description - Use cases: You can use this event to react to the ending of a WebXR session. You may want to display a UI element informing about the termination of the session, for example.
[ -0.40727004408836365, 0.10154682397842407, -0.31839168071746826, 0.3450634181499481, -1.2388911247253418, -0.8580169081687927, 0.4370216727256775, 0.3807799220085144, -0.5689623355865479, -0.048022907227277756, 0.1790151447057724, 0.7200765013694763, 0.12407556176185608, 0.1527425646781921...
api/xrsession/end_event/index.md
API - XRSession - end event - Examples: To be informed when a WebXR session comes to an end, you can add a handler to your `XRSession` instance using `addEventListener()`, like this: Example: XRSession.addEventListener("end", (event) => { /* the session has shut down */ }); Alternatively, you can use the `XRSessi...
[ -0.15760557353496552, -0.7350842952728271, -0.5514240264892578, 1.1888210773468018, -0.9333749413490295, -1.0236252546310425, 0.8432562351226807, 0.4406048357486725, 0.19949063658714294, 0.09031430631875992, -0.09719536453485489, 0.41733595728874207, 0.6291806101799011, 0.12345170974731445...
api/windowcontrolsoverlay/geometrychange_event/index.md
API - WindowControlsOverlay - geometrychange event: The `geometrychange` event is fired when the position, size, or visibility of a Progressive Web App's title bar area changes. This only applies to Progressive Web Apps installed on desktop operating systems and use the Window Controls Overlay API.
[ -0.5432356595993042, 0.1256953626871109, -0.061001092195510864, -0.39376649260520935, -0.17471440136432648, -1.7134467363357544, -0.26951706409454346, 1.7862963676452637, 0.2801536023616791, 0.6832432150840759, -0.05149223655462265, 0.6820663809776306, 0.34785550832748413, 0.41604819893836...
api/windowcontrolsoverlay/geometrychange_event/index.md
API - WindowControlsOverlay - geometrychange event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("geometrychange", (event) => { }) ongeometrychange = (event) => { }
[ -0.3397514522075653, -0.2701684236526489, 0.026430435478687286, 0.1373504251241684, -0.176126629114151, -2.2232913970947266, -0.36383339762687683, 1.39452064037323, 0.01891733705997467, 0.11864451318979263, -0.36443671584129333, 0.5705547332763672, 0.5517934560775757, 0.0025488175451755524...
api/windowcontrolsoverlay/geometrychange_event/index.md
API - WindowControlsOverlay - geometrychange event - Event type: A `WindowControlsOverlayGeometryChangeEvent`. Inherits from `Event`.
[ -0.56350177526474, 0.24712461233139038, 0.2419816553592682, -0.10412950813770294, -0.27955538034439087, -1.7961032390594482, -0.3660273849964142, 1.2579431533813477, 0.32673123478889465, 0.34315139055252075, -0.06184236705303192, 0.5363256931304932, 0.3043058216571808, 0.3949125409126282, ...
api/windowcontrolsoverlay/geometrychange_event/index.md
API - WindowControlsOverlay - geometrychange event - Examples: Using `addEventListener()`: Example: navigator.windowControlsOverlay.addEventListener("geometrychange", (event) => { const { x, y, width, height } = event.titlebarAreaRect; console.log( `The titlebar area coordinates are x:${x}, y:${y}, width:${w...
[ -0.47323527932167053, -0.5492036938667297, -0.2797493636608124, -0.04572736471891403, -0.20352739095687866, -1.3991589546203613, -0.341053307056427, 0.5009651184082031, 0.7170183658599854, 0.45262610912323, -0.36852625012397766, 0.4266776144504547, -0.15261027216911316, 0.26283395290374756...
api/animation/remove_event/index.md
API - Animation - remove event: The `remove` event of the `Animation` interface fires when the animation is automatically removed by the browser.
[ 0.03399405628442764, 0.157375305891037, -0.05087800323963165, -0.06955353915691376, -0.2726899981498718, -1.4611812829971313, 0.36060023307800293, 1.1676814556121826, -0.6266173720359802, 0.1003827229142189, -0.11556284874677658, -0.08342581987380981, -0.10832980275154114, 0.93723249435424...
api/animation/remove_event/index.md
API - Animation - remove event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("remove", (event) => { }) onremove = (event) => { }
[ 0.17119532823562622, -0.243586003780365, 0.2145019769668579, 0.012700136750936508, -0.17439427971839905, -1.3949172496795654, 0.027690861374139786, 0.9885209798812866, -0.11095181107521057, -0.010777819901704788, -0.5017170906066895, -0.12233052402734756, -0.1535293459892273, -0.1338989436...