New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bluejeans/react-native-wpf-sysmenu

Package Overview
Dependencies
Maintainers
7
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bluejeans/react-native-wpf-sysmenu

An extension of the Windows system menu with custom items.

  • 0.0.6
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
7
Weekly downloads
 
Created
Source

react-native-wpf-sysmenu

An extension of the Windows system menu with custom items.

Designe notes

  • Control assumes that there is no any other components that can modify system menu.
  • Won't check for ID duplicates, just overwrite it.
  • By some reasons EventEmitter is included by relative path ../../react-native/Libraries/EventEmitter/RCTDeviceEventEmitter, in case if in app file will be in different location - the path should be changed appropriately
  • Id should be in range 1 - 61400

Example

Full example can be ssen at Example folder.

import Menu from '@bluejeans/react-native-wpf-sysmenu'

const menu = Menu.create();

menu.addSeparator()
 .then(() => menu.addItem(1, 'Test Item 1', () => Alert.alert('Clicked', 'Item 1')))
 .then(() => menu.addItem(2, 'Test Item 2', () => Alert.alert('Clicked', 'Item 2')))
 .then(() => menu.addItem(3, 'Test Item 3', () => Alert.alert('Clicked', 'Item 3')))
 .then(() => menu.enableItem(2, false))
 .catch((e) => Alert.alert('Error', e.message))

FAQs

Package last updated on 07 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc