7 repository-uri
Embedding of non-visible, site-specific metadata within HTML elements.
Distinguishing note: Specifically covers 'data-*' attributes for scripting, which is distinct from the security-focused 'private embedding' candidates.
Explore 7 awesome GitHub repositories matching web development · Custom Data Attributes. Refine with filters or upvote what's useful.
This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.
Allows the embedding of custom, non-visible information in elements via data attributes for use by site-specific scripts.
Markdoc is a documentation content framework that extends standard Markdown with custom tags, typed schemas, and reusable components, parsing content into an abstract syntax tree and rendering it as React elements or HTML. It provides a structured authoring system where documents are processed through an AST-based pipeline, enabling validation, transformation, and flexible output generation. The framework distinguishes itself through a schema-driven validation pipeline that checks document structure and attribute values against defined rules, and a pluggable renderer architecture that accepts
Lets users build reusable attribute validators and transformers that enforce custom data formats across tags.
A sizzlin' hot selector engine.
Registers custom attribute handlers for cross-browser selector compatibility.
instant.page is a client-side JavaScript library that preloads linked pages on hover or touch interactions, making navigation feel instantaneous without consuming unnecessary bandwidth. It works by starting to fetch a page the moment a user hovers over a link for 65 milliseconds, leaving over 300 milliseconds for the page to load before the click, and similarly preloads on touch start for mobile visitors. The script offers multiple preloading strategies to balance responsiveness with resource conservation. It can be configured to preload on mousedown, when links become visible in the viewport
Restricts preloading to links explicitly marked with a data attribute for fine-grained control.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Checks attribute values against type constraints, custom validators, and logical combinations during instance creation.
timeago.js este o bibliotecă JavaScript care convertește timestamp-urile în șiruri de timp relativ lizibile de către oameni. Aceasta funcționează ca o bibliotecă de date internaționalizată care transformă datele și orele statice în declarații descriptive ale timpului scurs. Proiectul oferă un actualizator dinamic de timp care reîmprospătează automat etichetele de timp relativ pe o pagină web la intervale regulate. Suportă localizarea datelor în mai multe limbi, permițând traducerea declarațiilor de timp scurs în diverse limbi folosind setări de localizare încorporate sau personalizate.
Uses custom HTML data attributes to identify which elements should be formatted as relative time.
jscamp is a full-stack web development and education project focused on mastering JavaScript, TypeScript, and AI integration. It provides a structured curriculum and interactive exercises covering language fundamentals, frontend engineering, and backend API development. The project distinguishes itself through the implementation of autonomous AI agents capable of complex task automation, such as modifying files, managing servers, and executing API calls. It includes advanced AI development tools for conversational querying, real-time code suggestions, and automated repository analysis to gene
Utilizes HTML data attributes to embed and retrieve site-specific metadata for scripting.