x-context-menu
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

x-context-menu

Context menu for x-popup.

npm i x-context-menu pnpm add x-context-menu yarn add x-context-menu

API

# ContextMenuProps src/x-context-menu.tsx#L36

# anchorDestination src/x-context-menu.tsx#L37

    HTMLElement

# popupDestination src/x-context-menu.tsx#L38

    HTMLElement

# scene src/x-context-menu.tsx#L40

    PopupScene

# sticky src/x-context-menu.tsx#L41

    boolean

# surface src/x-context-menu.tsx#L39

    SurfaceElement

# ContextMenuOption({ action, children, disabled, keyboard }) src/x-context-menu.tsx#L15
# children src/x-context-menu.tsx#L19

    VKid

# disabled src/x-context-menu.tsx#L17

    boolean

# keyboard src/x-context-menu.tsx#L18

    string []

}

ContextMenuOption({ action, children, disabled, keyboard })  =>

    VKid
# onContextMenu(ContextMenuProps) src/x-context-menu.tsx#L45

Credits

Contributing

Fork or edit and submit a PR.

All contributions are welcome!

License

MIT © 2022 stagas

Readme

Keywords

none

Package Sidebar

Install

npm i x-context-menu

Weekly Downloads

38

Version

1.1.0

License

MIT

Unpacked Size

1.35 MB

Total Files

18

Last publish

Collaborators

  • stagas