@selectable/browser
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@selectable/browser

Library that provides selection capabilities to JS ecosystem

This is an extension package for browsers.

See example usage in the demo app.

Simple use-case:

import { DomSelectable } from '@selectable/browser';

const selectable = new DomSelectable({
  container: document.querySelector('...'),
});

selectable.on('selected', (items) => console.log('Selected items', items));

Running build

Run nx build browser to execute the build the package.

Running unit tests

Run ng test browser to execute the unit tests via Jest.

Readme

Keywords

none

Package Sidebar

Install

npm i @selectable/browser

Weekly Downloads

9

Version

0.1.1

License

none

Unpacked Size

246 kB

Total Files

139

Last publish

Collaborators

  • gund