1.0.0 • Published 7 years ago

electron-selection v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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