Skip to content

Update electron type declarations to add popup menu method with new async arg #1003

Closed

Description

@shiftkey

See #998 for discussion.

Once 1.6.2 docs are published, submit a PR for this signature to be updated to reflect whatever's currently required.

Looking at the source for popup, I see two different methods:

  • menu.popup(x, y, positioningItem) - the current one (doesn't support positioningItem)
  • menu.popup(window, { }) - a new one, which supports optional x, y, positioningItem and async arguments

Activity

  1. added
    tech-debt
    on Mar 6, 2017
  2. shiftkey commented on May 21, 2017

    @shiftkey
    MemberAuthor
  3. locked as resolved and limited conversation to collaborators on Jul 20, 2018
  4. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tech-debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions