worklet

    1.0.3 • Public • Published

    Worklet

    Use the CSS "houdini" API today with this easy wrapper!

    Example

    const worklet = require('worklet')
    const element = document.getElementById('target')
     
    worklet.registerPaint(element, (ctx, dimensions) => {
        ctx.fillRect(0, 0, 10, 10)
    })

    Keywords

    none

    Install

    npm i worklet

    DownloadsWeekly Downloads

    2

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    1.39 kB

    Total Files

    3

    Last publish

    Collaborators

    • fabiosantoscode