electron-selection

1.0.0 • Public • Published

electron-selection

Linux Build Status Windows Build status Dependency Status devDependency Status

Global Selection

Why?

  • Sync selection in multiple windows

Install

npm install --save electron-selection

Run Examples:

npm start examples/${name}

Usage

const selection = require('electron-selection');
 
selection.register('normal');
selection.select('normal', ['a', 'b', 'c', 'd']);
 
// ['a', 'b', 'c', 'd']
console.log(selection.curSelection('normal'));

API Reference

TODO

License

MIT © 2017 Johnny Wu

Readme

Keywords

Package Sidebar

Install

npm i electron-selection

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • johnnywu