2 个仓库
Capability to trigger encapsulated JavaScript functions through HTML attributes to process values or events.
Distinct from External Event Integration: Distinct from event integration by focusing on the execution of encapsulated scripts via declarative attributes.
Explore 2 awesome GitHub repositories matching web development · Declarative JavaScript Execution. Refine with filters or upvote what's useful.
Autotrack 是一个用于 Google Analytics 的 JavaScript 库,可自动捕获用户交互和页面参与度。它提供了一个声明式分析实现系统,允许通过 HTML 属性跟踪 Web 事件,从而避免为每次交互编写自定义 JavaScript。 该项目包含一个分析包生成器,用于创建仅包含项目所需特定跟踪插件的最小化 JavaScript 文件。它还作为一个单页应用(SPA)跟踪器,监控浏览器历史记录的变化以记录虚拟页面浏览量。 该库涵盖了广泛的参与度衡量能力,包括跟踪滚动深度、元素可见性和媒体查询状态。它还提供了 Web 分析数据标准化工具,例如过滤 URL 参数和标准化路径以防止重复条目。
Implements a system for tracking web events via HTML attributes to avoid writing custom JavaScript.
Datastar is a framework for hypermedia application development that enables the creation of reactive user interfaces using declarative HTML attributes. It focuses on server-driven state management, offloading application logic and state transitions to the backend to reduce frontend complexity. The project distinguishes itself through real-time UI streaming, using Server-Sent Events to push incremental DOM patches and state changes over a single long-lived connection. It synchronizes frontend and backend state by applying partial JSON updates to a client-side signal store and employs morphing-
Enables the invocation of encapsulated JavaScript functions directly through declarative HTML attributes.