awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mdn avatar

mdn/dom-examples

0
View on GitHub↗
4,005 estrellas·1,920 forks·JavaScript·CC0-1.0·3 vistasdeveloper.mozilla.org/en-US/docs/Web/API↗

Dom Examples

Este proyecto es una biblioteca de referencia de ejemplos de código funcional y demostraciones ejecutables. Proporciona guías de implementación y fragmentos prácticos para utilizar APIs del navegador, características de CSS, manipulaciones del DOM y componentes web.

La colección incluye demostraciones en vivo de capacidades de estilo modernas, incluyendo patrones de diseño avanzados y APIs de pintura. También incluye muestras de referencia para construir elementos personalizados reutilizables utilizando estructuras de Shadow DOM para el desarrollo de interfaces de usuario modulares.

La biblioteca cubre una amplia gama de capacidades del navegador, incluyendo procesamiento de flujos multimedia con modificación de fotogramas de video en tiempo real, patrones de comunicación entre contextos entre ventanas e iframes, y manipulación programática de elementos del DOM. Además, proporciona ejemplos de integración de hardware del dispositivo, como detección de postura para pantallas plegables y puentes de interfaz de sistema nativo para tareas como la selección de contactos.

El repositorio contiene ejemplos basados en JavaScript diseñados para ser ejecutados dentro de un entorno de navegador en vivo.

Features

  • API Reference Demos - Serves as a comprehensive reference library of interactive samples demonstrating how to implement various Web APIs.
  • DOM Manipulation - Provides a comprehensive set of examples for programmatically updating the document object model.
  • Web Hardware APIs - Connects browser scripts to physical hardware using standardized APIs for Bluetooth, USB, and sensors.
  • Message Channel Ports - Shows how to create pairs of ports for secure messaging between pages and iframes.
  • DOM Manipulators - Provides practical JavaScript snippets for programmatically modifying the structure and content of the browser DOM.
  • Drag State Monitors - Provides event-driven monitoring of when items move, enter, leave, or drop on targets during drag operations.
  • Drag and Drop Interfaces - Implements a comprehensive system for selecting and moving elements to designated target elements via drag-and-drop.
  • Drop Target Configuration - Implements the capability to configure specific elements to accept dragged items by intercepting drag-over events.
  • Asynchronous Resource Fetching - Demonstrates requesting data from servers asynchronously to update page content without reloading.
  • Shadow DOM Encapsulation - Illustrates how to use shadow DOM to create reusable custom elements with isolated styles.
  • Cross-Context Communication - Implements mechanisms for exchanging data and coordinating tasks between different browser script execution contexts.
  • Web Components - Provides a detailed reference and code samples for building reusable custom elements using shadow DOM structures.
  • Advanced CSS Styling - Provides implementation guides and runnable examples for advanced CSS layout patterns, custom functions, and painting APIs.
  • Media Capture and Playback - Implements systems for capturing and managing audio and video streams directly from the browser.
  • GPU Accelerated Rendering - Utilizes GPU acceleration to render high-performance 2D and 3D visuals via the canvas API.
  • Real-Time Pixel Manipulation - Demonstrates manipulating raw pixel data from live video streams using a canvas for real-time effects.
  • Device Posture Detection - Provides demonstrations for detecting foldable screen postures to create adaptive layouts.
  • Browser Sensor Monitoring - Implements hooks for tracking real-time data from browser-accessible sensors like accelerometers and gyroscopes.
  • Web Hardware Interfaces - Provides implementation guides for communicating with Bluetooth, USB, and NFC devices via the browser.
  • Security and Access Control - Implements security patterns for user authentication, encrypted credentials, and the use of trusted types to prevent injection.
  • Application Performance Optimization - Includes examples for profiling execution speed and scheduling background tasks to optimize application responsiveness.
  • JavaScript Worker Threads - Implements JavaScript worker threads to move heavy computations off the main user interface thread.
  • Always-on-Top Browser Windows - Implements browser windows that remain visible above other tabs or applications for persistent content display.
  • Color Value Calculations - Provides custom CSS functions to calculate semi-transparent, lighter, or darker versions of colors.
  • CSS Custom Functions - Implements custom CSS functions to calculate typed units and synchronize property values across elements.
  • CSS Progress Indicators - Demonstrates visual representations of completion status using native CSS progress functions.
  • CSS Value Synchronization - Implements a method to synchronize multiple CSS properties from a shared value across different viewport sizes.
  • Event-Driven User Interactions - Demonstrates linking browser interface events to application logic for immediate state updates.
  • Gradient Functions - Implements reusable CSS functions to encapsulate complex background gradient logic for consistent application.
  • Input Event Tracking - Implements a system to monitor pointer events, touch gestures, keyboard input, and gamepad state.
  • Non-Primary Mouse Click Handling - Provides a system to detect and handle interactions from non-primary pointing device buttons.
  • Document Detachment - Provides a feature to display an arbitrary HTML document in a floating, always-on-top window.
  • Picture-in-Picture Styling - Implements specific CSS rules applied to elements when they are displayed within a picture-in-picture floating window.
  • Programmatic Background Image Generation - Implements a worklet-based system to generate complex background images that respond to computed style changes.
  • Hardware Integration Samples - Offers a comprehensive set of educational samples for integrating various device hardware components through web interfaces.
  • Progress Ratio Computations - Provides a method for calculating normalized values between thresholds to drive UI animations and layout changes.
  • JavaScript Media Query Evaluation - Provides examples of executing media query checks within JavaScript to trigger conditional logic based on device characteristics.
  • Responsive Layout Styling - Provides examples of assigning different CSS values for narrow and wide layouts to handle conditional styling.
  • Text Highlighting - Demonstrates a system for rendering custom background highlights on text using CSS properties.
  • Background Processing Workers - Provides utilities for offloading intensive tasks to background workers to maintain UI responsiveness.
  • CSS Property Support Testers - Implements mechanisms to evaluate browser support for specific CSS properties using native rules and JavaScript.
  • Typed CSS Arithmetic - Provides a system for performing arithmetic operations on typed CSS units and unitless numbers.
  • Browser Interaction Controls - Provides a mechanism to block standard browser behaviors, such as link opening, during non-primary mouse interactions.

Historial de estrellas

Gráfico del historial de estrellas de mdn/dom-examplesGráfico del historial de estrellas de mdn/dom-examples

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Dom Examples

Proyectos open-source similares, clasificados según cuántas características comparten con Dom Examples.
  • javascript-tutorial/ru.javascript.infoAvatar de javascript-tutorial

    javascript-tutorial/ru.javascript.info

    4,057Ver en GitHub↗

    This project is a comprehensive JavaScript programming tutorial and frontend web development curriculum. It serves as a structured educational resource for learning the JavaScript language, ranging from basic syntax to advanced asynchronous patterns and modern programming techniques. The resource functions as a frontend engineering textbook and CSS layout guide, providing detailed instructional material on building responsive user interfaces. It covers the design of custom web components and the application of styles and positioning to create effective frontend interfaces. The curriculum enc

    HTMLjavascriptrussiantutorial
    Ver en GitHub↗4,057
  • bradtraversy/vanillawebprojectsAvatar de bradtraversy

    bradtraversy/vanillawebprojects

    16,097Ver en GitHub↗

    This project is a collection of reference implementations for vanilla web applications, interactive browser games, and core frontend development patterns. It consists of small web applications and tools built using standard HTML, CSS, and JavaScript without the use of external frameworks or libraries. The collection demonstrates various practical implementations, including browser-based mini games with arcade and word-guessing mechanics, as well as frontend interface prototypes. These examples cover the use of the native document object model for state manipulation and the implementation of i

    JavaScript
    Ver en GitHub↗16,097
  • wicg/webcomponentsAvatar de WICG

    WICG/webcomponents

    4,494Ver en GitHub↗

    Web Components is a set of specifications for creating reusable custom elements with encapsulated styling and logic for the web. It provides a standard for defining new HTML tags that function as independent components across different browser engines. The system is built on three primary pillars: the Custom Elements standard for defining new tags, the Shadow DOM implementation for isolating internal document structures and styles, and the HTML Templates specification for defining reusable fragments of markup that remain inert until instantiated. These capabilities enable modular web design

    HTML
    Ver en GitHub↗4,494
  • javascript-tutorial/en.javascript.infoAvatar de javascript-tutorial

    javascript-tutorial/en.javascript.info

    25,344Ver en GitHub↗

    This project is a comprehensive JavaScript programming tutorial and language reference. It serves as a web development education resource providing instruction on modern language fundamentals, object-oriented design, and advanced asynchronous programming patterns. The resource functions as both a frontend development guide and a technical reference. It covers core language features such as closures, prototypes, promises, and typed arrays, while providing practical lessons on managing browser data and handling network requests. The content spans several key capability areas, including browser

    HTMLenglishjavascripttutorial
    Ver en GitHub↗25,344
Ver las 30 alternativas a Dom Examples→

Preguntas frecuentes

¿Qué hace mdn/dom-examples?

Este proyecto es una biblioteca de referencia de ejemplos de código funcional y demostraciones ejecutables. Proporciona guías de implementación y fragmentos prácticos para utilizar APIs del navegador, características de CSS, manipulaciones del DOM y componentes web.

¿Cuáles son las características principales de mdn/dom-examples?

Las características principales de mdn/dom-examples son: API Reference Demos, DOM Manipulation, Web Hardware APIs, Message Channel Ports, DOM Manipulators, Drag State Monitors, Drag and Drop Interfaces, Drop Target Configuration.

¿Qué alternativas de código abierto existen para mdn/dom-examples?

Las alternativas de código abierto para mdn/dom-examples incluyen: javascript-tutorial/ru.javascript.info — This project is a comprehensive JavaScript programming tutorial and frontend web development curriculum. It serves as… wicg/webcomponents — Web Components is a set of specifications for creating reusable custom elements with encapsulated styling and logic… bradtraversy/vanillawebprojects — This project is a collection of reference implementations for vanilla web applications, interactive browser games, and… javascript-tutorial/en.javascript.info — This project is a comprehensive JavaScript programming tutorial and language reference. It serves as a web development… gustavoguanabara/javascript — This project is a structured JavaScript programming course and learning path designed for beginners. It functions as… john-smilga/javascript-basic-projects — This is a collection of small JavaScript projects and code samples that demonstrate the implementation of fundamental…