Giter VIP home page Giter VIP logo

Comments (7)

NavidZ avatar NavidZ commented on May 26, 2024

Contextmenu is not defined in the UI Event spec. So I was not sure if definition of how it is dispatched belongs here or not. But regarding when to send the auxclick I was kind of copying from existing definition of click regarding down and release and then dispatch click and I thought that was clear enough.
Do you have another example in mind that defines such "description of the UI action" for another event so I can get a better understanding what you would like to see?

from auxclick.

annevk avatar annevk commented on May 26, 2024

https://w3c.github.io/clipboard-apis/ is close, though it fails to queue tasks to execute its actions.

from auxclick.

annevk avatar annevk commented on May 26, 2024

As for contextmenu, since you're essentially defining non-primary-mouse-clicks, and contextmenu can be triggered on behalf of one of those, you at least need to show how it integrates into the processing model. You might have to work with the HTML Standard at https://github.com/whatwg/html on desirable layering.

from auxclick.

NavidZ avatar NavidZ commented on May 26, 2024

So you want something like section 6 in that spec. Right?
Let's talk about the contextmenu in the other issue #14. But contextmenu is not triggered by any click action.

from auxclick.

annevk avatar annevk commented on May 26, 2024

Yeah, though what's important here is how exactly the OS-level action is mapped. That is, I don't know if there's a distinction between a mouseup and an auxclick in terms of OS-level actions. Are those two OS-level actions or is that a distinction that the browser makes as part of the mouseup action?

from auxclick.

NavidZ avatar NavidZ commented on May 26, 2024

I'm not sure what you mean by OS-level action. At first I thought you meant OS-level input to the browser by I don't think that's what you wanted.

from auxclick.

annevk avatar annevk commented on May 26, 2024

OS-level input sounds about right. We don't have a good shared term for it yet. (I've been using "UI actions", but I'm also confusing it by sometimes throwing in different terms. Sorry about that.)

from auxclick.

Related Issues (10)

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.