Giter VIP home page Giter VIP logo

Comments (4)

benogle avatar benogle commented on August 16, 2024

Can we pass the/an event object through for right click? Then could use
event.target

On Fri, Oct 18, 2013 at 1:03 PM, Matt Colyer [email protected]:

It'd be cool if you could right click on a tab to close it or close others
(just like in Chrome). Unfortunately we need a way to specify the hovered
element in the command so this might take a bit of work to get right.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4
.

from tabs.

mcolyer avatar mcolyer commented on August 16, 2024

If you right click but don't focus the element, does the browser still set e.target to the hovered element or does it set it to the focused/active element?

from tabs.

benogle avatar benogle commented on August 16, 2024

It should be the element under the mouse, not the active element.

On Mon, Oct 21, 2013 at 11:00 AM, Matt Colyer [email protected]:

If you right click but don't focus the element, does the browser still set
e.target to the hovered element or does it set it to the focused/active
element?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-26740576
.

from tabs.

mcolyer avatar mcolyer commented on August 16, 2024

That works, I believe the command system already passes through the event object. So now we just need a new command that provides that functionality.

from tabs.

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.