Sort Score
Result 10 results
Languages All
Labels All
Results 321 - 330 of 22,130 for

js

(0.08 sec)
  1. HTMLInputElement: valueAsNumber property - Web ...

    Learn about the HTMLInputElement.valueAsNumber property, including its type, code examples, specifications, and browser compatibility.... js const logElement = document....compared to that value as a number. js const logElement = document....

    developer.mozilla.org/en-US/docs/Web/API/HTMLIn...
  2. JavaScript performance optimization - Learn web...

    It is very important to consider how you are using JavaScript on your websites and think about how to mitigate any performance issues that it might be causing. While images and video account for over 70% of the bytes downloaded for the average website, byte per byte, JavaScript has a greater potential for negative performance impact โ€” it can significantly impact download times, rendering performance, and CPU and battery usage. This article introduces tips and techniques for optimizing JavaScript to enhance the performance of your website....js"></script> ... </head> This works...rel="preload" href="important-js.js" as="script" /> <!-- Preload...

    developer.mozilla.org/en-US/docs/Learn/Performa...
  3. content/files/en-us/web/html/element/input/colo...

    The content behind MDN Web Docs. Contribute to mdn/content development by creating an account on GitHub....over time to the color value: ```js colorPicker.addEventListener("input"...appropriately in either case. ```js colorPicker.select(); ``` ##...

    github.com/mdn/content/blob/main/files/en-us/we...
  4. Literal character: a, b - JavaScript | MDN

    A literal character specifies exactly itself to be matched in the input text....the Removing HTML tags example: js const pattern = /<.+?>/g; In...when paired with other features: js /^[๐Ÿ˜„]$/.test("๐Ÿ˜„"); // false...

    developer.mozilla.org/en-US/docs/Web/JavaScript...
  5. CompressionStream - Web APIs | MDN

    Learn about the CompressionStream interface, including its constructor and properties, code examples, specifications, and browser compatibility.... js const compressedReadableSt =...

    developer.mozilla.org/en-US/docs/Web/API/Compre...
  6. WebGLSync - Web APIs | MDN

    Learn about the WebGLSync interface, including code examples, specifications, and browser compatibility.... js const sync = gl.fenceSync(gl...

    developer.mozilla.org/en-US/docs/Web/API/WebGLSync
  7. Window: open() method - Web APIs | MDN

    Learn about the Window.open() method, including its syntax, code examples, specifications, and browser compatibility.... Syntax js open() open(url) open(url, target)...windows. Examples Opening a new tab js window.open("https://www.mozilla...

    developer.mozilla.org/en-US/docs/Web/API/Window...
  8. Video player styling basics - Web media technol...

    In the previous Cross browser video player article we described how to build a cross-browser HTML video player using the Media and Fullscreen APIs. This follow-up article looks at how to style this custom player, including making it responsive....browser now needs to be set: js // Display the user defined video...support the <progress> element: js const supportsProgress = document...

    developer.mozilla.org/en-US/docs/Web/Media/Audi...
  9. Vue refs and lifecycle methods for focus manage...

    So that's it for focus management, and for our app! Congratulations for working your way through all our Vue tutorials. In the next article we'll round things off with some further resources to take your Vue learning further....toggleToItemEditForm() method, like so: js toggleToItemEditForm() { console...the focus() method on the ref. js focusOnEditButton() { const editButtonRef...

    developer.mozilla.org/en-US/docs/Learn/Tools_an...
  10. Event bubbling - Learn web development | MDN

    We've seen that a web page is composed of elements โ€” headings, paragraphs of text, images, buttons, and so on โ€” and that you can listen for events that happen to these elements. For example, you could add a listener to a button, and it will run when the user clicks the button.... js const output = document.quer...element that contains both of them: js const output = document.quer...

    developer.mozilla.org/en-US/docs/Learn/JavaScri...