Git Product home page Git Product logo

Comments (4)

laszlopandy avatar laszlopandy commented on August 18, 2024

So to clarify, this module is the same as core's Keyboard, but it gives access to alt, meta, ctrl and calls preventDefault() and stopPropagation() on every event?

I like this library. Probably these changes should be added to core later. In the meantime can we think of a better name that elm-editor-keyboard? Otherwise it's a yes from me.

from package.elm-lang.org.

GlenDC avatar GlenDC commented on August 18, 2024

I only just learned Elm when I wrote this library. I think by now I would like to do it slightly different, also perhaps it's better to do so when Elm settles down on a proper way of doing native code.

I wrote this library for my application, but now I don't use it anymore.

It becomes more complex when you want to sometimes accept certain keys and other times not.
Also it should be possible to make it work with things like the Html library so that you can attach it to whatever DOM Object you want. (in case you use Html in your app that is).

from package.elm-lang.org.

Apanatshka avatar Apanatshka commented on August 18, 2024

The native review pipeline is stalled. That's probably not news to you, but I wanted to leave a note on all the open reviews. I cannot speak for everyone, but as one of the reviewers I just want to speak up and say that I will not be doing more reviews. The warning about publishing native packages has changed, and Evan has mentioned multiple times in different places that one of his priorities for 0.17 is improving this process. So I'm going to wait for that. I'm sorry we cannot move forward with publishing your library, but my experience is that even if we review and approve it, it will become stuck waiting for Evan to whitelist it.

from package.elm-lang.org.

evancz avatar evancz commented on August 18, 2024

Sorry to keep this in limbo for so long. I am moving towards the plan outlined here and discussed a bit further in the 0.17 announcement.

I think this should probably be added to elm-lang/dom and I think there are already proposals to extend the on functions in there to have onWithDefault

from package.elm-lang.org.

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.