JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 661
  • Score
    100M100P100Q105103F
  • License MIT

Minimal, framework-agnostic companion plugin for managing the rotator of the Radial Color Picker.

Package Exports

  • @radial-color-picker/rotator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@radial-color-picker/rotator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Radial Color Picker - Rotator

Downloads Version License CircleCI

Minimal, framework-agnostic companion plugin for managing the rotator of the Radial Color Picker.

Install

Via yarn

$ yarn add @radial-color-picker/rotator

Usage

import Rotator from '@radial-color-picker/rotator';

new Rotator(el, {
    angle: 0, // initial angle
    onRotate: onRotate, // callback to subscribe for rotation changes
    onDragStart: onDragStart, // callback to subscribe for drag start
    onDragStop: onDragStop // callback to subscribe for drag stop
});

Change log

Please see Releases for more information on what has changed recently.

Contributing

If you're interested in the project you can help out with feature requests, bugfixes, documentation improvements or any other helpful contributions. You can use the issue list of this repo for bug reports and feature requests and as well as for questions and support.

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Credits

This plugin is a modernized and heavily modified version of Denis Radin's plugin Propeller.

License

The MIT License (MIT). Please see License File for more information.

Back To Top