@nteract/mythic-multiselect

For selecting multiple cells

Usage no npm install needed!

<script type="module">
  import nteractMythicMultiselect from 'https://cdn.skypack.dev/@nteract/mythic-multiselect';
</script>

README

@nteract/mythic-multiselect

This package implements a simple method of keeping track of multiple selected cells using the myths framework.

Installation

$ yarn add @nteract/mythic-multiselect
$ npm install --save @nteract/mythic-multiselect

Usage

Initialize the package by including the notifications package in your store and rendering the <NotificationsRoot/>:

import {
  multiselect,
  selectCell,
  unselectCell,
  clearSelectedCells,
} from "@nteract/mythic-multiselect";

store.dispatch(
  selectCell({
    contentRef: "content",
    id: "cellID",
  })
);

API

Support

If you experience an issue while using this package or have a feature request, please file an issue on the issue board and add the pkg:mythic-multiselect label.

License

BSD-3-Clause