Sort Score
Result 10 results
Languages All
Labels All
Results 581 - 590 of 23,249 for

js

(0.18 sec)
  1. GPUCompilationInfo - Web APIs | MDN

    Learn about the GPUCompilationInfo interface, including its properties, code examples, specifications, and browser compatibility....declaration in our shader code: js const shaders = ` struct VertexOut...information about the resulting error: js async function init() { // ....

    developer.mozilla.org/en-US/docs/Web/API/GPUCom...
  2. HTMLMediaElement: loadstart event - Web APIs | MDN

    Learn about the loadstart event, including its type and syntax, code examples, specifications, and browser compatibility.... js addEventListener("loadstart"...display: block; } JavaScript js const loadVideo = document.q...

    developer.mozilla.org/en-US/docs/Web/API/HTMLMe...
  3. HTMLMediaElement: progress event - Web APIs | MDN

    Learn about the progress event, including its type and syntax, code examples, specifications, and browser compatibility.... js addEventListener("progress",...display: block; } JavaScript js const loadVideo = document.q...

    developer.mozilla.org/en-US/docs/Web/API/HTMLMe...
  4. Vibration API - Web APIs | MDN

    Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The Vibration API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it....consisting of only one value: js navigator.vibrate(200); navigator...not be vibrating. For example: js navigator.vibrate([200, 100,...

    developer.mozilla.org/en-US/docs/Web/API/Vibrat...
  5. <input type="color"> - HTML: HyperText Markup L...

    elements of type color provide a user interface element that lets a user specify a color, either by using a visual color picker interface or by entering the color into a text field in #rrggbb hexadecimal format....over time to the color value: js colorPicker.addEventListener("input"...appropriately in either case. js colorPicker.select(); Validation...

    developer.mozilla.org/en-US/docs/Web/HTML/Eleme...
  6. Registering attribution sources - Web APIs | MDN

    This article explains how to register attribution sources when using the Attribution Reporting API....trigger is matched to a source: js res.set( "Attribution-Report...generating an event-level report. js res.set( "Attribution-Report...

    developer.mozilla.org/en-US/docs/Web/API/Attrib...
  7. <input type="color"> - HTML (HyperText Markup L...

    Les éléments de type "color" permettent de sélectionner une couleur via une interface (un sélecteur de couleur) ou en saisissant le code hexadécimal de la couleur au format "#rrggbb". Ce format de valeur peut être utilisé en CSS.... js colorPicker.addEventListener("input"...d'adapter votre code à ce cas. js colorWell.select(); Validation...

    developer.mozilla.org/fr/docs/Web/HTML/Element/...
  8. File System API - Web APIs | MDN

    The File System API — with extensions provided via the File System Access API to access files on the device file system — allows read, write and file management capabilities.... js async function getFile() { //...method to retrieve the contents. js const pickerOpts = { types: [...

    developer.mozilla.org/en-US/docs/Web/API/File_S...
  9. XRInputSourcesChangeEvent - Web APIs | MDN

    Learn about the XRInputSourcesChangeEvent interface, including its constructor, properties, and methods, code examples, specifications, and browser compatibility.... js xrSession.addEventListener("inputsourceschange"...oninputsourceschange event handler: js xrSession.oninputsourceschange...

    developer.mozilla.org/en-US/docs/Web/API/XRInpu...
  10. SyntaxError: a declaration in the head of a for...

    The JavaScript exception "a declaration in the head of a for-of loop can't have an initializer" occurs when the head of a for...of loop contains an initializer expression such as for (const i = 0 of iterable). This is not allowed in for-of loops....Examples Invalid for-of loop js const iterable = [10, 20, 30];...to the loop body, for example. js const iterable = [10, 20, 30];...

    developer.mozilla.org/en-US/docs/Web/JavaScript...