Giter VIP home page Giter VIP logo

Comments (8)

chinedufn avatar chinedufn commented on May 15, 2024

This would certainly save time if it was that straightforwards!

My one question - would this support web_sys events? I see that typed-html seems to lean towards stdweb but I haven't read over the implementation.

I think that we want to be fully based on web_sys so that would be the only blocker here I think.

from percy.

dbrgn avatar dbrgn commented on May 15, 2024

Hm, it does look like the events are tied to stdweb...

Maybe another option would be to support both stdweb and web_sys events in typed-html using compile flags? Ping @bodil, would this be something you'd consider?

from percy.

dbrgn avatar dbrgn commented on May 15, 2024

I opened an issue at bodil/typed-html#33.

from percy.

chinedufn avatar chinedufn commented on May 15, 2024

Awesome!

from percy.

chinedufn avatar chinedufn commented on May 15, 2024

I've begun working on a procedural html! macro that that will use the web_sys event types. Progress can be followed here https://github.com/chinedufn/percy/compare/proc-macro

I'll PR it once it hits feature parity with the current macro_rules!.

from percy.

dbrgn avatar dbrgn commented on May 15, 2024

@chinedufn awesome!

from percy.

chinedufn avatar chinedufn commented on May 15, 2024

Closing this in favor of #59

I'm thinking that we can open issues one by one for specific compile time checks that we'd like to have.

Thanks so much for opening this issue!

from percy.

chinedufn avatar chinedufn commented on May 15, 2024

Actually, @dbrgn mind giving #59 a quick scan?

from percy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.