ocev.js

ocev.js 是一个事件库,旨在简化事件处理的复杂性,支持代理 Web 元素的所有事件,并提供 Promise/Stream 形式的事件处理 API。它最大化支持 TypeScript,提供完整的类型提示。

Check out ocev.js on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

github 地址文档地址一个例子 codesandboxocev 是一个事件库,设计目的是为了简化事件处理的复杂性,同时支持 promise/stream 的方式处理事件.支持代理 web 元素的所有事件,并用 ocev 的 api 进行处理.所有 api 都最大化的支持 typescript,提供最完整的类型提示-----### 多次注册,一次性清理<img src="https://github.com/ruanyf/weekly/assets/23711081/e28685c9-a11f-4631-b753-b23a6aa62d16" style="max-width:70%" />### 监听 web 元素的所有事件c2### 使用 stream 的形式处理事件c3

Latest Weekly Picks

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur