file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
api/audioplaybackstats/index.md
API - AudioPlaybackStats - Examples - Reporting audio playback stats - JavaScript: In our JavaScript, we begin by grabbing references to the buttons and the output list. We also disable our stats and reset buttons, because they won't do anything initially. We'll enable them again once they have event listeners attache...
[ -0.0027005928568542004, 0.28679361939430237, -0.6835004687309265, 0.7093104720115662, -0.23461313545703888, -0.6863073110580444, 1.1089863777160645, 0.9345313310623169, 0.09760741889476776, 0.4656006991863251, -1.0284936428070068, 0.17157717049121857, -0.8187545537948608, -0.48393869400024...
api/navigator/share/index.md
API - Navigator - share: Secure context: This feature is available only in secure contexts (HTTPS). The `share()` method of the `Navigator` interface invokes the native sharing mechanism of the device to share data such as text, URLs, or files. The available share targets depend on the device, but might include the c...
[ -0.6056942343711853, -0.47158947587013245, -0.28582242131233215, -0.0540364608168602, 0.3178780674934387, -0.5912967324256897, 0.9945961236953735, 0.7546555995941162, 0.22464317083358765, 0.43643078207969666, -0.3560139834880829, 0.7246407270431519, 0.49729281663894653, 0.03377334028482437...
api/navigator/share/index.md
API - Navigator - share - Syntax: Example: share(data)
[ -0.7294175028800964, -0.9189845323562622, -1.3633402585983276, -0.09038738906383514, -0.38004371523857117, -0.0850239172577858, 1.1761517524719238, 1.983900785446167, 0.28205007314682007, -0.23974797129631042, 0.6480826735496521, 0.8512464165687561, -0.6257712244987488, -0.0809467583894729...
api/navigator/share/index.md
API - Navigator - share - Syntax - Parameters: - `data` (optional): An object containing data to share. Properties that are unknown to the user agent are ignored; share data is only assessed on properties understood by the user agent. All properties are optional but at least one known data property must be specified. ...
[ -0.55016028881073, -0.9707887768745422, -0.4228108525276184, 0.6195967197418213, 0.23786437511444092, -1.5361723899841309, 0.820046603679657, 0.30538007616996765, 0.7116926908493042, 0.48524606227874756, 0.20145215094089508, 0.44298475980758667, 0.16403739154338837, 0.27257123589515686, ...
api/navigator/share/index.md
API - Navigator - share - Syntax - Return value: A `Promise` that resolves with `undefined`, or rejected with one of the Exceptions given below.
[ -0.9156678318977356, -0.5546253323554993, -0.21270665526390076, -0.0905720442533493, -0.7208846211433411, -0.29974469542503357, 1.5548222064971924, 1.2116013765335083, -0.5860824584960938, 0.3590647280216217, 0.28707778453826904, 0.8579527139663696, -0.4871406555175781, 1.0286118984222412,...
api/navigator/share/index.md
API - Navigator - share - Syntax - Exceptions: The `Promise` may be rejected with one of the following `DOMException` values: - `InvalidStateError` `DOMException`: The document is not fully active, or other sharing operations are in progress. - `NotAllowedError` `DOMException`: A `web-share` Permissions Policy has be...
[ -0.3898547887802124, -0.45384642481803894, 0.01668817177414894, 0.1209726333618164, -0.07115481048822403, -0.7008727788925171, 0.07704989612102509, 0.1703638881444931, 0.7219485640525818, -0.03228409215807915, -0.011856116354465485, 0.5847010016441345, 0.23415088653564453, -0.1026293858885...
api/navigator/share/index.md
API - Navigator - share - Shareable file types: The following is a list of usually shareable file types. However, you should always test with `navigator.canShare()` if sharing would succeed. - Application - `.pdf` - `application/pdf` - Audio - `.flac` - `audio/flac` - `.m4a` - `audio/x-m4a` - `.mp3` - `audio/...
[ -0.587313175201416, -0.6952694654464722, -0.70571368932724, 0.6837325692176819, 0.06466138362884521, -0.4034220576286316, 0.6690322160720825, 1.2227331399917603, -0.014526218175888062, 0.35453858971595764, -0.33197900652885437, -0.07856130599975586, 0.19905920326709747, -0.3042511343955993...
api/navigator/share/index.md
API - Navigator - share - Security: This method requires that the current document have the web-share Permissions Policy and `transient activation`. (It must be triggered off a UI event like a button click and cannot be launched at arbitrary points by a script.) Further, the method must specify valid data that is supp...
[ 0.2054918110370636, -0.2949971854686737, -0.5354230403900146, 0.20874953269958496, -0.10385170578956604, -0.7761803269386292, 0.9520893692970276, 0.7401084303855896, -0.14101873338222504, 0.12272809445858002, -0.12338276952505112, 0.9352991580963135, 0.153049498796463, 0.265136182308197, ...
api/navigator/share/index.md
API - Navigator - share - Examples - Sharing a URL: The example below shows a button click invoking the Web Share API to share MDN's URL. This is taken from our Web share test (see the source code).
[ -0.8768688440322876, -0.7259174585342407, -0.10984116792678833, -0.009114550426602364, -0.21062779426574707, -0.5640363693237305, 0.35646292567253113, -0.15513931214809418, 0.5496488213539124, 0.4007897675037384, -0.4687890410423279, 1.0749061107635498, 0.1907603144645691, 0.13291902840137...
api/navigator/share/index.md
API - Navigator - share - Examples - Sharing a URL - HTML: The HTML just creates a button to trigger the share, and a paragraph in which to display the result of the test. Example: <p><button>Share MDN!</button></p> <p class="result"></p>
[ -0.49573832750320435, -0.7045004367828369, 0.24585476517677307, 0.2995683252811432, -0.31643617153167725, -1.077073335647583, 0.6822690963745117, -0.1668875366449356, -0.20522181689739227, 0.2751676142215729, -0.7935672998428345, 0.8911359906196594, 0.5400124788284302, -0.0796041190624237,...
api/navigator/share/index.md
API - Navigator - share - Examples - Sharing a URL - JavaScript: Example: const shareData = { title: "MDN", text: "Learn web development on MDN!", url: "https://developer.mozilla.org", }; const btn = document.querySelector("button"); const resultPara = document.querySelector(".result"); // Share must be trigg...
[ -0.12516139447689056, -0.9006169438362122, -0.11055520921945572, 0.16054058074951172, -0.03338684141635895, -1.1857428550720215, 0.9586334228515625, 0.10426017642021179, -0.25064805150032043, 0.02115827053785324, -0.5299082398414612, 0.578385591506958, 0.031158480793237686, -0.021006584167...
api/navigator/share/index.md
API - Navigator - share - Examples - Sharing files: To share files, first test for and call `navigator.canShare()`. Then include the list of files in the call to `navigator.share()`.
[ -0.46962669491767883, -0.708601713180542, -0.6088674068450928, 0.2502269446849823, 0.1410522162914276, -0.6763979196548462, 0.6429705619812012, 0.603848934173584, -0.11431864649057388, 0.1891554594039917, -0.19665664434432983, 0.39325517416000366, 0.20099657773971558, 0.5409575700759888, ...
api/navigator/share/index.md
API - Navigator - share - Examples - Sharing files - HTML: Example: <div> <label for="files">Select images to share:</label> <input id="files" type="file" accept="image/*" multiple /> </div> <button id="share" type="button">Share your images!</button> <output id="output"></output>
[ -1.4297741651535034, -0.4612944722175598, -0.1336158812046051, 0.4207201898097992, 0.27318274974823, -0.6722387671470642, 0.22803059220314026, -0.02627181075513363, -0.8586776256561279, 0.00424361415207386, -0.335663765668869, 0.32357969880104065, 0.07877255976200104, 0.4646340608596802, ...
api/navigator/share/index.md
API - Navigator - share - Examples - Sharing files - JavaScript: Note that the data object passed to the `navigator.canShare()` only includes the `files` property, as the `title` and `text` shouldn't matter. Example: const input = document.getElementById("files"); const output = document.getElementById("output"); d...
[ -0.22733420133590698, -0.662090003490448, -0.37676379084587097, 0.7270814776420593, 0.06639409065246582, -1.0161855220794678, 0.11860080063343048, 1.1399753093719482, -0.4734840989112854, 0.5167205929756165, -0.20160916447639465, 0.27195724844932556, -0.1261490136384964, 0.2169817984104156...
api/navigator/globalprivacycontrol/index.md
API - Navigator - globalPrivacyControl: The `Navigator.globalPrivacyControl` read-only property returns the user's Global Privacy Control setting for the current website. This setting indicates whether the user consents to the website or service selling or sharing their personal information with third parties. The va...
[ -1.320202112197876, -0.8452866673469543, -0.5123631954193115, 0.40942105650901794, 0.3105756938457489, -1.452752947807312, 0.9471808075904846, 0.537537157535553, -0.002126134932041168, 0.735207736492157, -1.1642991304397583, 1.0617446899414062, -0.011945534497499466, -0.24313239753246307, ...
api/navigator/globalprivacycontrol/index.md
API - Navigator - globalPrivacyControl - Value: `true` if the user explicitly does not provide consent to sell or share their data. `false` if the user either grants consent, or has not indicated a preference.
[ -1.1866261959075928, -0.8375771045684814, -0.2808034121990204, 0.4494839310646057, -0.20911142230033875, -1.9682166576385498, 0.6201503872871399, 0.18838807940483093, -0.368323415517807, 0.1970655620098114, -0.8072046041488647, 0.5003015398979187, 0.6255707740783691, -0.12464266270399094, ...
api/navigator/globalprivacycontrol/index.md
API - Navigator - globalPrivacyControl - Example: Example: console.log(navigator.globalPrivacyControl); // "true" if the user has specifically indicated they do not want their data shared or sold, otherwise "false".
[ -1.16486656665802, -1.2678542137145996, -0.1867273449897766, 0.2557043433189392, -0.44129377603530884, -2.0524203777313232, 0.6184213161468506, -0.10160302370786667, -0.640844464302063, 0.44888588786125183, -0.29608988761901855, 0.4124894142150879, 0.16488881409168243, -0.31857195496559143...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps: Secure context: This feature is available only in secure contexts (HTTPS). The `getInstalledRelatedApps()` method returns a promise that resolves with an array of objects representing any related platform-specific apps or Progressive Web Apps that the user has installed. Thi...
[ -0.17417383193969727, 0.2513531446456909, -0.22149235010147095, -0.13025574386119843, 0.32921403646469116, -1.5454013347625732, 0.3703218102455139, 1.297286033630371, -0.5171661376953125, 0.22589395940303802, -0.2085166573524475, 1.3536020517349243, -0.19915224611759186, -0.036872401833534...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps - Description: `getInstalledRelatedApps()` can be used to check for the installation of Universal Windows Platform (UWP) apps, Android apps, and PWAs that are related to the web app calling this method. To associate the invoking web app with a platform-specific app or PWA, tw...
[ 0.287505567073822, 0.02950816974043846, -1.1056751012802124, -0.4752329885959625, 0.29213303327560425, -1.577986240386963, 0.7002480030059814, 1.3054780960083008, 0.12652020156383514, 0.40233442187309265, -0.05678156763315201, 1.0407882928848267, -0.31926238536834717, 0.07219097018241882, ...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps - Syntax: Example: getInstalledRelatedApps()
[ -1.5107477903366089, -0.41880476474761963, -0.3642672002315521, -0.44395774602890015, -0.23260816931724548, -1.7077348232269287, 0.156422421336174, 0.20713305473327637, -0.4201197028160095, -0.04257680103182793, -0.6782888770103455, 0.17431454360485077, -0.27183234691619873, 0.458198726177...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps - Syntax - Parameters: None.
[ -0.8930715322494507, -0.13655468821525574, -0.6025867462158203, -0.0714108943939209, -0.20657742023468018, -1.1685541868209839, 0.3476918637752533, 0.569597601890564, -0.3393966555595398, -0.11571401357650757, -0.6963433027267456, 0.3003174066543579, -0.3800307810306549, 0.2431694865226745...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps - Syntax - Return value: A `Promise` that fulfills with an array of objects representing any installed related apps. Each object can contain the following properties: - `id` (optional): A string representing the ID used to represent the application on the specified platform. ...
[ 0.06016870588064194, -0.585902750492096, -0.1472167670726776, -0.5202047824859619, -0.26481592655181885, -2.03523325920105, 0.12875144183635712, 0.6066800355911255, -0.10059842467308044, 0.686985433101654, -0.6352043151855469, 0.16986288130283356, -0.2459036260843277, 0.18662258982658386, ...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps - Syntax - Exceptions: - `InvalidStateError` `DOMException`: The method was not invoked in a top-level browsing context.
[ -0.4077458381652832, -0.6725095510482788, -0.3118266761302948, -0.39048781991004944, -0.23676466941833496, -2.267350435256958, -0.024197468534111977, 0.4063092768192291, -0.07141385227441788, -0.14013461768627167, -0.9026840925216675, 0.7477524876594543, 0.3680962920188904, -0.164405405521...
api/navigator/getinstalledrelatedapps/index.md
API - Navigator - getInstalledRelatedApps - Examples: Example: const relatedApps = await navigator.getInstalledRelatedApps(); // Dump all the returned related apps into a table in the console console.table(relatedApps); // Search for a specific installed platform-specific app const psApp = relatedApps.find((app) =>...
[ -0.8098008632659912, -0.04553263261914253, -0.5555087327957153, -0.029948346316814423, -0.4617760479450226, -2.0367941856384277, -0.23630794882774353, 0.06822320818901062, -0.12280885875225067, 0.2217915654182434, -0.9374532103538513, 0.5660704374313354, 0.22075888514518738, 0.051382593810...
api/rtcicecandidatepair/remote/index.md
API - RTCIceCandidatePair - remote: The `remote` property of the `RTCIceCandidatePair` interface specifies the `RTCIceCandidate` that describes the configuration of the remote end of a viable WebRTC connection. The `RTCIceCandidatePair` is returned by the `getSelectedCandidatePair()` method of `RTCIceTransport`.
[ -1.2243176698684692, -0.10139025747776031, -0.208099827170372, 0.8305992484092712, 0.5874049067497253, -0.9469214081764221, 0.3891601264476776, 0.3862999975681305, -0.33965975046157837, 0.014508575201034546, -1.0469352006912231, 0.15157003700733185, 0.41410279273986816, 0.08895544707775116...
api/rtcicecandidatepair/remote/index.md
API - RTCIceCandidatePair - remote - Value: An `RTCIceCandidate`.
[ -1.1684972047805786, 0.3385915160179138, -0.19011984765529633, 0.598953902721405, 0.5500865578651428, -0.8469507098197937, 0.16852572560310364, -0.08426333963871002, -0.20597457885742188, -0.6002854108810425, -0.6459434628486633, 0.47041845321655273, 0.3529135286808014, 0.545756995677948, ...
api/rtcicecandidatepair/remote/index.md
API - RTCIceCandidatePair - remote - Examples - Basic usage: This one-line example obtains the current candidate pair and then from that gets the remote candidate. Example: const candidatePair = pc .getSenders()[0] .transport.transport.getSelectedCandidatePair(); const remoteCandidate = candidatePair.remote; Th...
[ -0.5801622271537781, 0.25461769104003906, -0.542698323726654, 0.7038117051124573, 0.2593395411968231, -1.3067147731781006, 0.47490519285202026, 0.3835945427417755, -0.38506653904914856, -0.17745229601860046, -0.9485016465187073, 0.3241317868232727, 0.11347618699073792, 0.21298545598983765,...
api/rtcicecandidatepair/local/index.md
API - RTCIceCandidatePair - local: The `local` property of the `RTCIceCandidatePair` interface specifies the `RTCIceCandidate` that describes the configuration of the local end of a viable WebRTC connection. The `RTCIceCandidatePair` is returned by the `getSelectedCandidatePair()` method of `RTCIceTransport`.
[ -1.0519142150878906, -0.3387502133846283, 0.19539695978164673, 0.6743936538696289, 0.7575798630714417, -0.9678091406822205, 0.3773823082447052, 0.247314453125, -0.00021223723888397217, 0.06846775114536285, -0.9209024906158447, 0.27886253595352173, 0.5701538920402527, 0.21569493412971497, ...
api/rtcicecandidatepair/local/index.md
API - RTCIceCandidatePair - local - Value: An `RTCIceCandidate`.
[ -1.0008915662765503, 0.47448256611824036, 0.1864331215620041, 0.5882071852684021, 0.6316090226173401, -0.8893109560012817, 0.2009383589029312, -0.18394452333450317, -0.544287919998169, -0.4198235869407654, -0.5688429474830627, 0.5402048230171204, 0.30591219663619995, 0.247269868850708, 0...
api/rtcicecandidatepair/local/index.md
API - RTCIceCandidatePair - local - Examples - Basic usage: This one-line example obtains the current candidate pair and then from that gets the local candidate. Example: const candidatePair = pc .getSenders()[0] .transport.iceTransport.getSelectedCandidatePair(); const localCandidate = candidatePair.local; The...
[ -0.449722021818161, 0.036459360271692276, -0.3311214745044708, 0.6146183013916016, 0.3737106919288635, -1.198750376701355, 0.5553879737854004, 0.17901451885700226, -0.12374323606491089, -0.15606476366519928, -0.887328028678894, 0.34754472970962524, 0.17464156448841095, 0.21625930070877075,...
api/identitycredential/index.md
API - IdentityCredential: Secure context: This feature is available only in secure contexts (HTTPS). The `IdentityCredential` interface of the Federated Credential Management API (FedCM) represents a user identity credential arising from a successful federated sign-in. A successful `navigator.credentials.get()` call...
[ -0.16301162540912628, -0.37543249130249023, 0.07700328528881073, 0.007194347679615021, -0.03156434744596481, -1.6731253862380981, 0.7973724603652954, 0.009442828595638275, -0.2639259696006775, 0.10018667578697205, -0.1388789415359497, 0.4424892067909241, 0.6664907932281494, -0.419792532920...
api/identitycredential/index.md
API - IdentityCredential - Instance properties: Inherits properties from its ancestor, `Credential`. - `IdentityCredential.configURL` (read only) (experimental): A string specifying the config file URL of the `IdP` used for sign-in. - `IdentityCredential.isAutoSelected` (read only) (experimental): A boolean value tha...
[ -0.42118483781814575, -0.2712651789188385, -0.37739571928977966, -0.38105541467666626, -0.2879236936569214, -1.5282056331634521, 1.0360848903656006, 0.7690227627754211, 0.21030721068382263, 0.0010953247547149658, -0.8122225999832153, 0.46585988998413086, 0.14128881692886353, -0.04117875546...
api/identitycredential/index.md
API - IdentityCredential - Static methods: - `IdentityCredential.disconnect()` (experimental): Disconnects the federated sign-in account used to obtain the credential.
[ 0.058425866067409515, 0.07652050256729126, -0.29065263271331787, -0.44658681750297546, -0.5447758436203003, -1.3966823816299438, 0.8821710348129272, 0.23188704252243042, 0.08774854242801666, -0.20792029798030853, -0.891217052936554, -0.008467674255371094, 0.0172271691262722, -0.01912576705...
api/identitycredential/index.md
API - IdentityCredential - Examples - Basic federated sign-in: `Relying parties` (RPs) can call `navigator.credentials.get()` with the `identity` option to make a request for users to sign in to the RP via an identity provider (IdP), using identity federation. A typical request would look like this: Example: async f...
[ -0.5054826736450195, -0.3730272650718689, -0.5521181225776672, -0.6173714399337769, -0.4835309088230133, -1.3659898042678833, 1.4621692895889282, -0.3444918394088745, 0.06684833765029907, 0.25073298811912537, -0.7628942131996155, 0.2985904812812805, 0.11626073718070984, -0.1222287192940712...
api/identitycredential/token/index.md
API - IdentityCredential - token: Secure context: This feature is available only in secure contexts (HTTPS). The `token` read-only property of the `IdentityCredential` interface returns the token used to validate the associated sign-in. The FedCM API does not define the structure of the `token` object or what the RP...
[ 0.5986762046813965, 0.0769309476017952, -0.3695521950721741, -0.05111691355705261, -0.00798662006855011, -1.0928668975830078, 0.7696593999862671, 0.9115217924118042, -0.09361483156681061, -0.3318386375904083, -0.4772707521915436, 0.9062973260879517, 0.01990385353565216, -0.4382451772689819...
api/identitycredential/token/index.md
API - IdentityCredential - token - Value: Any type.
[ -0.3059055209159851, -0.055909570306539536, -0.5129153728485107, -0.22076469659805298, -0.4277782440185547, -0.7150257229804993, 1.2579542398452759, -0.04841352999210358, 0.20106136798858643, -1.015380620956421, -0.43938565254211426, 0.03692108392715454, -0.31483420729637146, -0.3894621133...
api/identitycredential/token/index.md
API - IdentityCredential - token - Examples - Basic federated sign-in and `token` access: Relying parties (RPs) can call `navigator.credentials.get()` with the `identity` option to make a request for users to sign in to the RP via an identity provider (IdP), using identity federation. A typical request would look like...
[ -0.18028047680854797, -0.6937495470046997, -0.6008095145225525, -0.35322222113609314, -0.11386127769947052, -1.328558325767517, 1.301142930984497, -0.29778772592544556, -0.12815538048744202, 0.2364690899848938, -0.30379676818847656, 0.20025599002838135, 0.12640692293643951, -0.154489725828...
api/identitycredential/configurl/index.md
API - IdentityCredential - configURL: Secure context: This feature is available only in secure contexts (HTTPS). The `configURL` read-only property of the `IdentityCredential` interface returns a string specifying the config file URL of the `identity provider` (IdP) used for sign-in. See Provide a config file for mo...
[ -0.3911452293395996, 0.07440698146820068, -0.4414641857147217, -0.32411089539527893, -0.4012840688228607, -1.3405853509902954, 0.917497992515564, 0.7656696438789368, 0.33394742012023926, -0.1736179143190384, -0.42162302136421204, 0.29665422439575195, 0.368833065032959, -0.1612045168876648,...
api/identitycredential/configurl/index.md
API - IdentityCredential - configURL - Value: A string.
[ -0.7100692391395569, 0.10921311378479004, -0.29330024123191833, -0.25062984228134155, -0.45738768577575684, -1.2230498790740967, 1.4996166229248047, -0.1616494357585907, -0.2812601327896118, -0.4391058087348938, -0.7773342728614807, -0.2714657187461853, 0.09254182875156403, -0.040715482085...
api/identitycredential/configurl/index.md
API - IdentityCredential - configURL - Examples - Basic federated sign-in and `configURL` access: `Relying parties` (RPs) can call `navigator.credentials.get()` with the `identity` option to make a request for users to sign in to the RP via an identity provider (IdP), using identity federation. A request indicating a ...
[ -0.5725385546684265, 0.041018933057785034, -0.4101969599723816, -0.5822625756263733, -0.16854417324066162, -1.0072176456451416, 1.1191130876541138, 0.654723048210144, -0.6660971641540527, 0.26958969235420227, -0.10863173753023148, 0.5523099303245544, -0.09199008345603943, 0.122261971235275...
api/cssskew/index.md
API - CSSSkew: The `CSSSkew` interface of the CSS Typed Object Model API is part of the `CSSTransformValue` interface. It represents the `skew()` value of the individual `transform` property in CSS.
[ -0.6847296953201294, -0.6917677521705627, 0.4671421945095062, 0.010211054235696793, 0.2907501459121704, -2.1188526153564453, 0.26262345910072327, -0.17661090195178986, 0.9187973737716675, 0.5146893858909607, 0.481145977973938, 0.27198296785354614, 1.150594711303711, 0.3242990970611572, -...
api/cssskew/index.md
API - CSSSkew - Constructor: - `CSSSkew()`: Creates a new `CSSSkew` object.
[ -0.7447165846824646, -0.19812506437301636, 0.5938658118247986, -0.01320129819214344, 0.3898371458053589, -1.8491092920303345, 0.22319132089614868, 0.7291644811630249, -0.6152071356773376, 0.33160850405693054, 0.17622043192386627, 0.16317473351955414, 0.36447033286094666, 0.4486676454544067...
api/cssskew/index.md
API - CSSSkew - Instance properties: - `ax`: Returns or sets the x-axis value. - `ay`: Returns or sets the y-axis value.
[ -1.216665506362915, -0.45322439074516296, -0.8532058596611023, 0.0973820686340332, -0.518784761428833, -1.156883716583252, 0.41381943225860596, 0.8547930717468262, 0.6727691888809204, 0.45322075486183167, 0.06200133264064789, 0.3364770710468292, 1.0879563093185425, 0.42768049240112305, 0...
api/cssskew/index.md
API - CSSSkew - Examples: To Do
[ -0.2783188223838806, -0.07504250109195709, 0.6136587858200073, 0.11666440963745117, 0.5673722624778748, -1.0533558130264282, 0.6491671800613403, 0.7876545190811157, -0.8400174975395203, 0.5536082983016968, 0.29589733481407166, 1.1280966997146606, 0.2975824177265167, 0.005318574607372284, ...
api/cssskew/cssskew/index.md
API - CSSSkew: The `CSSSkew()` constructor creates a new `CSSSkew` object which represents the `skew()` value of the individual `transform` property in CSS.
[ -0.5326086282730103, -0.12133750319480896, -0.012768982909619808, -0.11083094030618668, 0.9900745153427124, -1.749436616897583, 0.7238677740097046, 1.7257905006408691, -0.6205153465270996, 0.41817086935043335, 0.6367872357368469, 0.47803640365600586, 0.28311818838119507, 0.2419960200786590...
api/cssskew/cssskew/index.md
API - CSSSkew - Syntax: Example: new CSSSkew(ax, ay)
[ -1.2017585039138794, -0.6092080473899841, 0.38449826836586, -0.40158963203430176, -0.10809382796287537, -1.8818362951278687, -0.11522597819566727, 0.3651726245880127, 0.19025388360023499, 0.5033509731292725, 0.7406499981880188, 0.5599144697189331, 0.3118297755718231, -0.127378910779953, ...
api/cssskew/cssskew/index.md
API - CSSSkew - Syntax - Parameters: - `ax`: A value for the `ax` (x-axis) angle of the `CSSSkew` object to be constructed. This must be a `CSSNumericValue`. - `ay`: A value for the `ay` (y-axis) angle of the `CSSSkew` object to be constructed. This must be a `CSSNumericValue`.
[ -0.6536070704460144, -0.4410160183906555, 0.10147617757320404, -0.2038085013628006, 0.06473465263843536, -1.749451994895935, 0.1109686940908432, 0.4250170886516571, 0.45896846055984497, 0.345960795879364, -0.31463709473609924, 0.2692316174507141, 0.6090539693832397, 0.3747851252555847, 0...
api/cssskew/cssskew/index.md
API - CSSSkew - Examples: To do
[ -0.10227973014116287, -0.07295052707195282, 0.4522477686405182, 0.21127986907958984, 0.5080263018608093, -0.9656585454940796, 0.6748323440551758, 0.7330709099769592, -0.8926800489425659, 0.5576126575469971, 0.1979270875453949, 1.1526304483413696, 0.4208804666996002, -0.06264296174049377, ...
api/messageport/messageerror_event/index.md
API - MessagePort - messageerror event: Note: This feature is available in Web Workers. The `messageerror` event is fired on a `MessagePort` object when it receives a message that can't be deserialized. This event is not cancellable and does not bubble.
[ 0.003366197692230344, -0.1504429280757904, -0.3756134808063507, -0.09290777146816254, -0.16936784982681274, -1.3097726106643677, 0.4214027225971222, 0.5950882434844971, -0.014149278402328491, 0.1271982342004776, 0.14114351570606232, 0.24559813737869263, 0.5167126059532166, 0.39188450574874...
api/messageport/messageerror_event/index.md
API - MessagePort - messageerror event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("messageerror", (event) => { }) onmessageerror = (event) => { }
[ 0.4934454560279846, -0.4271664619445801, -0.5649170875549316, -0.16916494071483612, -0.07612121850252151, -1.3991385698318481, 0.2576421797275543, 0.3012363612651825, 0.3197370767593384, -0.21438884735107422, -0.5225683450698853, -0.0036392919719219208, -0.09762352705001831, 0.417214930057...
api/messageport/messageerror_event/index.md
API - MessagePort - messageerror event - Event type: A `MessageEvent`. Inherits from `Event`.
[ 0.20644985139369965, -0.34227660298347473, -0.40314555168151855, -0.7409605979919434, -0.36988750100135803, -1.0920307636260986, -0.10356835275888443, 0.10604897141456604, 0.3395608961582184, -0.1975378394126892, -0.146829754114151, -0.12232397496700287, 0.2705007493495941, 0.4373092055320...
api/messageport/messageerror_event/index.md
API - MessagePort - messageerror event - Examples - Attempting to share memory: A common cause of `messageerror` events is attempting to send a `SharedArrayBuffer` object, or a buffer view backed by one, across agent clusters. For example, a window is not in the same agent cluster as a shared worker it created, so sup...
[ 0.030231591314077377, -0.13709935545921326, -0.6640911102294922, 0.11507183313369751, 0.49523866176605225, -0.48023825883865356, 0.34016695618629456, 0.971228301525116, -0.33202388882637024, 0.08753149956464767, 0.28054824471473694, 0.49296826124191284, 0.4513629078865051, 0.85898238420486...
api/messageport/message_event/index.md
API - MessagePort - message event: Note: This feature is available in Web Workers. The `message` event is fired on a `MessagePort` object when a message arrives on that channel. This event is not cancellable and does not bubble.
[ -0.09602618962526321, -0.3643506169319153, -0.1615966260433197, -0.14341703057289124, -0.0151628777384758, -1.2551549673080444, 0.5667548775672913, 0.8948511481285095, -0.37390393018722534, 0.2933602035045624, 0.4115489423274994, 0.34845054149627686, 0.8169318437576294, 0.4694342017173767,...
api/messageport/message_event/index.md
API - MessagePort - message event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("message", (event) => { }) onmessage = (event) => { }
[ 0.6112109422683716, -0.432383269071579, -0.30686596035957336, -0.27795249223709106, 0.10927268862724304, -1.4486743211746216, 0.18857979774475098, 0.43148237466812134, 0.14919953048229218, -0.42119017243385315, -0.27552950382232666, 0.21463871002197266, 0.18337029218673706, 0.2547726333141...
api/messageport/message_event/index.md
API - MessagePort - message event - Event type: A `MessageEvent`. Inherits from `Event`.
[ 0.06590499728918076, -0.4349668622016907, -0.21800290048122406, -0.5807210206985474, -0.33870935440063477, -1.1835592985153198, -0.16039340198040009, 0.37708523869514465, 0.09620168805122375, -0.3091827630996704, 0.2478785216808319, 0.13407233357429504, 0.3418453633785248, 0.34973543882369...
api/messageport/message_event/index.md
API - MessagePort - message event - Examples: Suppose a script creates a `MessageChannel` and sends one of the ports to a different browsing context, such as another `<iframe>`, using code like this: Example: const channel = new MessageChannel(); const myPort = channel.port1; const targetFrame = window.top.frames[1]...
[ -0.4457544982433319, -0.5485410094261169, 0.0031982827931642532, -0.23690445721149445, 0.7131360173225403, -0.8401010036468506, -0.08795113861560822, 0.3761961758136749, -0.08171670138835907, 0.03455507382750511, -0.3742048740386963, -0.10896320641040802, -0.057238124310970306, 0.501405835...
api/cssstylevalue/index.md
API - CSSStyleValue: The `CSSStyleValue` interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.
[ -0.37815213203430176, -0.18117384612560272, -0.608157753944397, 0.3319259583950043, 0.694226861000061, -2.087110757827759, -0.021733872592449188, 0.7356603741645813, -0.14285045862197876, 0.1644645780324936, 0.1848067343235016, 0.17064303159713745, 0.8002374768257141, 0.10654814541339874, ...
api/cssstylevalue/index.md
API - CSSStyleValue - Interfaces based on CSSStyleValue: Below is a list of interfaces based on the `CSSStyleValue` interface. - `CSSImageValue` - `CSSKeywordValue` - `CSSNumericValue` - `CSSPositionValue` - `CSSTransformValue` - `CSSUnparsedValue`
[ -0.08611895143985748, -0.3421576917171478, -0.46793296933174133, 0.36024510860443115, -0.2836363911628723, -2.168355703353882, 0.04936970770359039, 0.04570959508419037, 0.7328447103500366, 0.018685009330511093, 0.08279281109571457, -0.01380205899477005, 0.6653448939323425, 0.09627979993820...
api/cssstylevalue/index.md
API - CSSStyleValue - Static methods: - `CSSStyleValue.parse()`: Sets a specific CSS property to the specified values and returns the first value as a `CSSStyleValue` object. - `CSSStyleValue.parseAll()`: Sets all occurrences of a specific CSS property to the specified value and returns an array of `CSSStyleValue` obj...
[ -0.8234394192695618, 0.2920493483543396, -0.8993826508522034, 0.9913927316665649, 0.3572949767112732, -2.2297630310058594, 0.4703342914581299, 0.7494160532951355, -0.26407116651535034, 0.27782201766967773, -0.01416047103703022, 0.10385586321353912, 1.1705454587936401, -0.280214786529541, ...
api/cssstylevalue/index.md
API - CSSStyleValue - Instance methods: - `CSSStyleValue.toString()`: A `stringifier` that returns the value formatted as a string of standard CSS text.
[ -0.8392407894134521, 0.24584871530532837, -0.574877142906189, -0.08800578862428665, 0.31484198570251465, -2.430311441421509, 0.4550277292728424, 0.7438853979110718, -0.10382688790559769, -0.17025969922542572, -0.015249576419591904, -0.007284976541996002, 0.798003077507019, -0.0689031332731...
api/cssstylevalue/parseall_static/index.md
API - CSSStyleValue - parseAll static: The `parseAll()` static method of the `CSSStyleValue` interface sets all occurrences of a specific CSS property to the specified value and returns an array of `CSSStyleValue` objects, each containing one of the supplied values.
[ -0.6670878529548645, -0.20120427012443542, -1.1525332927703857, 0.09863051772117615, 0.49360471963882446, -1.8038136959075928, 0.37669292092323303, 1.7749780416488647, -0.32716190814971924, 0.005295886658132076, 0.30791980028152466, 0.36117973923683167, 0.7047456502914429, 0.13480469584465...
api/cssstylevalue/parseall_static/index.md
API - CSSStyleValue - parseAll static - Syntax: Example: CSSStyleValue.parseAll(property, value)
[ -0.6763959527015686, 0.3389928936958313, -0.9363574981689453, -0.09426349401473999, 0.6156784296035767, -1.9833937883377075, 0.6773098707199097, 1.2104319334030151, -0.18999448418617249, -0.2121666818857193, 0.3155066668987274, 0.3743089437484741, 0.4278845191001892, -0.081563301384449, ...
api/cssstylevalue/parseall_static/index.md
API - CSSStyleValue - parseAll static - Syntax - Parameters: - `property`: A CSS property to set. - `value`: A comma-separated string containing one or more values that apply to the provided property.
[ -0.4363541007041931, 0.3759583532810211, -0.5667920112609863, 0.5113532543182373, 0.017535611987113953, -2.5777065753936768, 0.3023071587085724, 0.8003041744232178, -0.10540962219238281, -0.08771738409996033, -0.2927047312259674, 0.3850798010826111, 0.2603365182876587, -0.2112998366355896,...
api/cssstylevalue/parseall_static/index.md
API - CSSStyleValue - parseAll static - Syntax - Return value: An array of `CSSStyleValue` objects, each containing one of the supplied values.
[ -0.9592127203941345, 0.14603017270565033, -0.1590944230556488, -0.08462010324001312, -0.28759855031967163, -1.20576012134552, -0.20077002048492432, 0.6782556176185608, -0.06174945831298828, -0.10997399687767029, 0.2689096927642822, 0.42854729294776917, 0.41948699951171875, 0.22020986676216...
api/cssstylevalue/parse_static/index.md
API - CSSStyleValue - parse static: The `parse()` static method of the `CSSStyleValue` interface sets a specific CSS property to the specified values and returns the first value as a `CSSStyleValue` object.
[ -0.6475851535797119, 0.09279871731996536, -0.8736876249313354, 0.47297680377960205, 0.5431155562400818, -1.7012882232666016, 0.46643251180648804, 1.5897740125656128, -0.4940474033355713, 0.023893237113952637, 0.12961719930171967, 0.057077668607234955, 0.9434090256690979, 0.2870784401893616...
api/cssstylevalue/parse_static/index.md
API - CSSStyleValue - parse static - Syntax: Example: CSSStyleValue.parse(property, cssText)
[ -0.5597914457321167, 0.6538351774215698, -0.2270885705947876, -0.039119042456150055, -0.3030267059803009, -2.0311856269836426, 0.3562389612197876, 0.36968833208084106, -0.31015947461128235, 0.06842893362045288, 0.11897683143615723, 0.5491962432861328, 0.19324323534965515, -0.06431979686021...
api/cssstylevalue/parse_static/index.md
API - CSSStyleValue - parse static - Syntax - Parameters: - `property`: A CSS property to set. - `cssText`: A comma-separated string containing one or more values to apply to the provided property.
[ -0.17577549815177917, 0.14857809245586395, -0.5914376974105835, 0.4211668074131012, 0.5455991625785828, -2.8073229789733887, 0.5298066735267639, 0.8559662103652954, -0.2526419162750244, 0.08065060526132584, -0.544823408126831, 0.04595169425010681, 0.10091114044189453, -0.3403148353099823, ...
api/cssstylevalue/parse_static/index.md
API - CSSStyleValue - parse static - Syntax - Return value: A `CSSStyleValue` object containing the first supplied value.
[ -0.5551382899284363, 0.30278047919273376, -0.685494601726532, 0.23581591248512268, 0.13521288335323334, -1.8030554056167603, 0.4521101415157318, 0.9956480264663696, -0.8358702659606934, 0.08112850785255432, 0.18017832934856415, 0.4840187430381775, 0.2884904444217682, 0.13264533877372742, ...
api/cssstylevalue/parse_static/index.md
API - CSSStyleValue - parse static - Examples - Basic usage: The code below parses a set of declarations for the `transform` property. The second code block shows the structure of the returned object as it would be rendered in a developer tools console. Example: const css = CSSStyleValue.parse( "transform", "tra...
[ -0.9006261825561523, -0.12145338207483292, -0.5221760272979736, 0.2821592688560486, 0.27033692598342896, -1.4456160068511963, 0.8100106120109558, 0.8222557306289673, -0.03594394773244858, 0.31815305352211, 0.21352210640907288, 0.18699133396148682, 0.10223379731178284, 0.049338094890117645,...
api/cssstylevalue/tostring/index.md
API - CSSStyleValue - toString: The `toString()` method of the `CSSStyleValue` interface is a `stringifier` that returns the value formatted as a string of standard CSS text.
[ -0.5422011017799377, 0.4727897047996521, -0.9638586640357971, -0.11190151423215866, 0.42032086849212646, -2.417105197906494, 0.4423835575580597, 1.051224946975708, -0.3325169086456299, 0.014092199504375458, 0.1326383352279663, 0.06768183410167694, 0.8721968531608582, 0.3712898790836334, ...
api/cssstylevalue/tostring/index.md
API - CSSStyleValue - toString - Syntax: Example: toString()
[ -1.4359804391860962, 0.17834559082984924, 0.025400761514902115, -0.2504780888557434, 0.18444547057151794, -2.3267383575439453, 0.15515880286693573, -0.1359977424144745, -0.28051692247390747, -0.3284681737422943, 0.5990126132965088, 0.37235909700393677, 0.25993895530700684, -0.3665219545364...
api/cssstylevalue/tostring/index.md
API - CSSStyleValue - toString - Syntax - Parameters: None.
[ -1.1395810842514038, 0.3564937114715576, -0.1563364565372467, 0.018939904868602753, 0.05394753813743591, -1.6024225950241089, 0.468526691198349, 0.48264604806900024, -0.584349513053894, -0.30829280614852905, -0.29983842372894287, 0.05297030508518219, 0.4045710265636444, 0.12686681747436523...
api/cssstylevalue/tostring/index.md
API - CSSStyleValue - toString - Syntax - Return value: A string.
[ -0.22268147766590118, 0.3931747376918793, -0.6728954911231995, -0.47056201100349426, 0.09210638701915741, -2.273376941680908, 0.5954185128211975, 0.7679325938224792, -1.0190606117248535, -0.04231274127960205, -0.24778835475444794, 0.448599636554718, 0.18308430910110474, 0.1675691157579422,...
api/cssstylevalue/tostring/index.md
API - CSSStyleValue - toString - Description: The exact serialization of the object to a string depends on how the `CSSStyleValue` object was obtained: - If the object was created by parsing a CSS string, such as with `CSSStyleValue.parse()`, the method returns the original string that was parsed. - If the object was...
[ -0.23932424187660217, -0.6586831212043762, -0.5644329786300659, 0.30372434854507446, 0.43799686431884766, -1.5185118913650513, 0.35017865896224976, 1.6326159238815308, -0.7485250234603882, 0.2950596809387207, -0.05623013526201248, 0.29210400581359863, 0.49753743410110474, -0.09757448732852...
api/cssstylevalue/tostring/index.md
API - CSSStyleValue - toString - Examples - Basic usage: Example: // Parsed from a string: returns the original string const length1 = CSSStyleValue.parse("42.0px"); length1.toString(); // "42.0px" // Constructed directly with a CSS factory function: subclass-specific serialization const length2 = CSS.px(42.0); leng...
[ -0.4237605035305023, -0.40606966614723206, -0.0990249514579773, -0.15848562121391296, -0.0781787782907486, -1.8912863731384277, 0.17250390350818634, 0.21411415934562683, -0.08933519572019577, -0.004302108660340309, -0.31550082564353943, 0.3602758049964905, -0.06764988601207733, -0.40686851...
api/webtransportdatagramduplexstream/index.md
API - WebTransportDatagramDuplexStream: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. The `WebTransportDatagramDuplexStream` interface of the `WebTransport API` represents a duplex stream that can be used for unreliable transport of datagram...
[ -0.03401285037398338, -1.1024348735809326, 0.03642953187227249, 0.13263201713562012, 0.10373865067958832, -1.050955891609192, 0.16897991299629211, 0.7770431637763977, 0.04209131747484207, -0.007710067555308342, 0.06552880257368088, 0.763120710849762, 0.45066511631011963, -0.108760729432106...
api/webtransportdatagramduplexstream/index.md
API - WebTransportDatagramDuplexStream - Instance properties: - `incomingHighWaterMark` (deprecated) (non-standard): Gets or sets the high water mark for incoming chunks of data — this is the maximum size, in chunks, that the incoming `ReadableStream`'s internal queue can reach before it is considered full. See Intern...
[ 0.21545296907424927, -0.34984102845191956, -0.20980343222618103, 0.3903837203979492, 0.23594319820404053, -1.779382586479187, 0.1806585192680359, 1.037479043006897, -0.16478979587554932, 0.666327953338623, -0.41185232996940613, 0.7325887680053711, -0.15145346522331238, -0.18277177214622498...
api/webtransportdatagramduplexstream/index.md
API - WebTransportDatagramDuplexStream - Instance methods: - `createWritable()` (experimental): Returns a `WebTransportDatagramsWritable` instance that can be used to write outgoing datagrams to the stream.
[ -0.5872776508331299, -0.03672964498400688, 0.3517876863479614, 0.13450463116168976, -0.05865804851055145, -1.359076976776123, 0.8928878307342529, 0.7526440620422363, 0.2503085136413574, 0.20921140909194946, -0.17535828053951263, 0.45533478260040283, 0.4589085578918457, -0.4004869759082794,...
api/webtransportdatagramduplexstream/index.md
API - WebTransportDatagramDuplexStream - Examples - Writing outgoing datagrams: This code uses the `createWritable()` method, if it is supported, to get a `WebTransportDatagramsWritable` instance that can be used for writing data to the transport. Otherwise, it falls back to the `writable` property (deprecated) (non-s...
[ -0.24693410098552704, -0.5823900103569031, 0.04487299919128418, 0.27434903383255005, 0.4786790609359741, -1.3950563669204712, 0.3092460334300995, 1.6323168277740479, -0.44632646441459656, 0.29249849915504456, -0.4333449900150299, 0.5846512317657471, -0.2034207582473755, -0.0075516514480113...
api/webtransportdatagramduplexstream/index.md
API - WebTransportDatagramDuplexStream - Examples - Reading incoming datagrams: The `readable` property returns a `ReadableStream` object that you can use to receive data from the server: Example: async function readData() { const reader = transport.datagrams.readable.getReader(); while (true) { const { valu...
[ -0.2579006850719452, -1.0026979446411133, 0.2584167718887329, 0.020621545612812042, -0.14202451705932617, -0.9172946810722351, 0.3571508228778839, 0.25698310136795044, 0.04132638871669769, 0.2904151976108551, -0.17705567181110382, 0.4249386489391327, 0.34110623598098755, -0.021581470966339...
api/webtransportdatagramduplexstream/incominghighwatermark/index.md
API - WebTransportDatagramDuplexStream - incomingHighWaterMark: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. Deprecated: This feature is no longer recommended. Non-standard: This feature is not standardized. The `incomingHighWaterMark` prop...
[ 0.3676043152809143, -0.43218159675598145, -0.4177621304988861, 0.04464046657085419, 0.35065391659736633, -1.3922806978225708, 0.33380627632141113, 1.2251704931259155, -0.2053043246269226, 0.4672987163066864, 0.31739407777786255, 0.7069611549377441, -0.23986545205116272, -0.1403596848249435...
api/webtransportdatagramduplexstream/incominghighwatermark/index.md
API - WebTransportDatagramDuplexStream - incomingHighWaterMark - Value: A number.
[ -0.7562281489372253, -0.4193463921546936, 0.30214154720306396, -0.3220878839492798, -0.2069993019104004, -1.8782343864440918, 0.6208730936050415, -0.39916443824768066, -0.8142675757408142, 0.5582634806632996, 0.201992928981781, 0.22683805227279663, 0.4015158712863922, 0.05971961468458176, ...
api/webtransportdatagramduplexstream/incominghighwatermark/index.md
API - WebTransportDatagramDuplexStream - incomingHighWaterMark - Examples: Example: const url = "https://example.com:4999/wt"; async function initTransport(url) { // Initialize transport connection const transport = new WebTransport(url); // The connection can be used once ready fulfills await transport.rea...
[ -0.2552357017993927, -0.9775216579437256, -0.3939409554004669, 0.5011856555938721, -0.23797184228897095, -1.524875521659851, -0.10706333816051483, 0.25833508372306824, -0.3500812351703644, 0.2871052026748657, -0.6754908561706543, 0.38530364632606506, -0.03423388674855232, -0.18319450318813...
api/webtransportdatagramduplexstream/outgoinghighwatermark/index.md
API - WebTransportDatagramDuplexStream - outgoingHighWaterMark: Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers. Deprecated: This feature is no longer recommended. Non-standard: This feature is not standardized. The `outgoingHighWaterMark` prop...
[ 0.01807711273431778, -0.3328890800476074, -0.3878105878829956, 0.1582799255847931, 0.42874759435653687, -1.4323726892471313, 0.31045961380004883, 1.441693902015686, -0.014645859599113464, 0.48913949728012085, 0.2472715675830841, 0.8199532628059387, -0.16525575518608093, -0.0383471474051475...
api/webtransportdatagramduplexstream/outgoinghighwatermark/index.md
API - WebTransportDatagramDuplexStream - outgoingHighWaterMark - Value: A number.
[ -0.9347862005233765, -0.697763979434967, 0.1267024427652359, -0.22559808194637299, -0.387388676404953, -1.841663122177124, 0.48121750354766846, -0.27159178256988525, -0.5256108045578003, 0.7225194573402405, 0.1991032510995865, 0.2676140367984772, 0.1705147922039032, 0.13253998756408691, ...
api/webtransportdatagramduplexstream/outgoinghighwatermark/index.md
API - WebTransportDatagramDuplexStream - outgoingHighWaterMark - Examples: Example: const url = "https://example.com:4999/wt"; async function initTransport(url) { // Initialize transport connection const transport = new WebTransport(url); // The connection can be used once ready fulfills await transport.rea...
[ -0.3315945565700531, -0.9801422953605652, -0.35648199915885925, 0.5066409707069397, -0.3788294196128845, -1.5855624675750732, -0.3632635474205017, 0.11374488472938538, 0.06833860278129578, 0.477845698595047, -0.5786402225494385, 0.5095865726470947, 0.08257449418306351, -0.07004183530807495...
api/editcontext/characterboundsupdate_event/index.md
API - EditContext - characterboundsupdate event: The `characterboundsupdate` event fires when the operating system needs to know the bounds of certain characters within editable text region of the `EditContext` object. This happens when the operating system needs to display a platform-specific editing-related UI surf...
[ 0.28460976481437683, 0.04265932738780975, 0.13241103291511536, 0.20275920629501343, 0.03228149563074112, -1.735386610031128, 0.11906830966472626, 1.5303797721862793, 0.22449111938476562, 0.3268512487411499, -0.2826930582523346, 0.09624934196472168, -0.16776321828365326, 0.47680598497390747...
api/editcontext/characterboundsupdate_event/index.md
API - EditContext - characterboundsupdate event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("characterboundsupdate", (event) => { }) oncharacterboundsupdate = (event) => { }
[ 0.6182366609573364, -0.307208776473999, -0.036228399723768234, -0.10570628941059113, -0.13003575801849365, -1.6626031398773193, 0.2674388587474823, 1.3471609354019165, 0.4573284387588501, -0.2747732698917389, -0.34918904304504395, 0.4190267324447632, -0.7413808107376099, 0.0105016976594924...
api/editcontext/characterboundsupdate_event/index.md
API - EditContext - characterboundsupdate event - Event type: A `CharacterBoundsUpdateEvent`. Inherits from `Event`.
[ -0.18913398683071136, -0.39513909816741943, 0.1349506378173828, -0.5247886180877686, -0.5178909301757812, -1.443217396736145, -0.1716570407152176, 0.905863881111145, 0.6972190141677856, -0.36606383323669434, -0.576132595539093, 0.16612884402275085, -0.8628140687942505, 0.2404569387435913, ...
api/editcontext/characterboundsupdate_event/index.md
API - EditContext - characterboundsupdate event - Examples - Updating the character bounds when needed: This example shows how to use the `updateCharacterBounds` method to update the character bounds in the `EditContext` of a `canvas` element when the operating system indicates that it requires the information. Note t...
[ 0.43647676706314087, 0.08404316008090973, 0.4624490439891815, 0.035150013864040375, -0.09678920358419418, -1.6797922849655151, 0.5714942812919617, 1.3248546123504639, 0.6017448306083679, 0.4274109899997711, -0.7352951169013977, -0.04149117320775986, -0.2073480635881424, 0.24490082263946533...
api/editcontext/textformatupdate_event/index.md
API - EditContext - textformatupdate event: The `textformatupdate` event of the `EditContext` interface fires when composition using an `Input Method Editor` (IME) window is happening. The event is fired when the IME decides that certain parts of the text being composed should be formatted differently to indicate the...
[ 0.123027503490448, -0.04163513332605362, 0.43461379408836365, 0.4753671884536743, 0.5411597490310669, -1.7644381523132324, 0.5681988000869751, 1.7679054737091064, -0.44571757316589355, 0.5987576842308044, 0.017542999237775803, -0.17427578568458557, -0.025823136791586876, 0.8227618932723999...
api/editcontext/textformatupdate_event/index.md
API - EditContext - textformatupdate event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("textformatupdate", (event) => { }) ontextformatupdate = (event) => { }
[ -0.03014671802520752, -0.09557442367076874, 0.19950972497463226, 0.1597859412431717, 0.05701923370361328, -1.2876132726669312, 0.25083452463150024, 1.0160133838653564, 0.09680099785327911, -0.1206260621547699, -0.10112424194812775, -0.29729312658309937, -0.6492419838905334, 0.4017289876937...
api/editcontext/textformatupdate_event/index.md
API - EditContext - textformatupdate event - Event type: A `TextFormatUpdateEvent`. Inherits from `Event`.
[ -0.784475564956665, -0.3850450813770294, 0.2771585285663605, 0.08330825716257095, 0.045394644141197205, -1.2152067422866821, -0.13989287614822388, 0.9371432065963745, 0.03579749912023544, -0.1406117081642151, 0.0030666515231132507, -0.6776489019393921, -0.6926594972610474, 0.49346166849136...
api/editcontext/textformatupdate_event/index.md
API - EditContext - textformatupdate event - Examples - Rendering IME composition text formatting: In the following example, the `textformatupdate` event is used to update the formatting of the text in the editable region. Note that the event listener callback in this example is only called when using an IME window, o...
[ 0.13969843089580536, -0.1435520499944687, 0.5760207772254944, 0.40527522563934326, 0.368689626455307, -1.8270500898361206, -0.2240239828824997, 1.0079312324523926, 0.08575496077537537, 0.24587473273277283, -0.6244760751724243, -0.9675576686859131, -0.39278513193130493, 0.1921844780445099, ...
api/editcontext/textupdate_event/index.md
API - EditContext - textupdate event: The `textupdate` event of the `EditContext` interface fires when the user has made changes to the text or selection of an editable region that's attached to an `EditContext` instance. This event makes it possible to render the updated text and selection in the UI, in response to ...
[ -0.4182817041873932, -0.3433535397052765, 0.2983950078487396, 0.5330957174301147, 0.02135295420885086, -2.070695161819458, 0.3293471038341522, 1.191044807434082, 0.22301974892616272, 0.17608684301376343, -0.19638051092624664, -0.2858946919441223, -0.30319225788116455, 0.8944791555404663, ...
api/editcontext/textupdate_event/index.md
API - EditContext - textupdate event - Syntax: Use the event name in methods like `addEventListener()`, or set an event handler property. Example: addEventListener("textupdate", (event) => { }) ontextupdate = (event) => { }
[ 0.06385496258735657, -0.02524412050843239, 0.1555546671152115, 0.21295833587646484, 0.19685706496238708, -1.462424397468567, 0.05309566855430603, 1.1766016483306885, 0.2887243628501892, 0.08059684932231903, -0.46459290385246277, -0.1704244464635849, -0.8449621200561523, 0.14271728694438934...
api/editcontext/textupdate_event/index.md
API - EditContext - textupdate event - Event type: A `TextUpdateEvent`. Inherits from `Event`.
[ -0.5865676403045654, -0.02141074649989605, 0.37926092743873596, -0.22983047366142273, 0.018518634140491486, -1.4240325689315796, -0.27013328671455383, 1.3687565326690674, -0.05963430553674698, 0.06898894906044006, 0.04967050999403, -0.1576656699180603, -0.9985685348510742, 0.52123308181762...
api/editcontext/textupdate_event/index.md
API - EditContext - textupdate event - Examples - Rendering the updated text on `textupdate`: In the following example, the `textupdate` event of the EditContext API is used to render the text a user enters in an editable `<canvas>` element. Example: <canvas id="editor-canvas"></canvas> Example: const canvas = doc...
[ 0.2798602283000946, 0.18841175734996796, 0.1528235673904419, 0.3815785050392151, 0.030762217938899994, -1.9900689125061035, -0.47660404443740845, 1.0471444129943848, 0.5884670615196228, 0.347972571849823, -0.16283249855041504, -0.6211485266685486, -0.5169572830200195, 0.8556113243103027, ...
api/languagedetector/measureinputusage/index.md
API - LanguageDetector - measureInputUsage: Secure context: This feature is available only in secure contexts (HTTPS). The `measureInputUsage()` method of the `LanguageDetector` interface reports how much input quota would be used by a language detection operation for a given text input.
[ -0.22816480696201324, 0.3834712505340576, -0.3395575284957886, 0.2343304455280304, 0.5625278949737549, -0.7187881469726562, 0.21002067625522614, 0.8798857927322388, 0.07743977010250092, -0.1322512924671173, -0.3741140067577362, 0.532979428768158, 0.4823954701423645, 0.02453194558620453, ...
api/languagedetector/measureinputusage/index.md
API - LanguageDetector - measureInputUsage - Syntax: Example: measureInputUsage(input) measureInputUsage(input, options)
[ -0.7482243180274963, 0.013983851298689842, -0.24159163236618042, 0.11861556768417358, 0.5353857278823853, -0.7467603087425232, -0.2016681581735611, 0.2537434697151184, 0.11575169861316681, -0.4812466502189636, -0.3588451147079468, -0.04881127551198006, 0.2066175490617752, 0.106091111898422...