JSPM

slotify

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q21546F
  • License ISC

Make you DOM elemnts become slot.

Package Exports

  • slotify

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 (slotify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Slotify

Usage

const slot = createSlot(document.querySelector('.slot'), config);

Configuration

{
  blur,
  time,
  decelerate,
  speedBound,
  beginDecreaseBound,
  space,
  direction
}

Method

slot.spin();
slot.stop();