1.0.0 • Published 3 years ago

@kemet/kemet-rotator v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

\

Installation

npm i @kemet/kemet-rotator

Usage

import '@kemet/kemet-rotator/kemet-rotator.js';
<kemet-rotator
  rotation-speed="5000"
  transition-speed="2s">
</kemet-rotator>
const rotator = document.querySelector('kemet-rotator');

rotator.messages = [
  'Hello! This is a rotator.',
  'Pass it an array and watch it rotator through the text.',
  'You can set the rotation speed and transition speed!',
  'You can pass it html like <strong><a href="http://kemet.online/rotator">this link</a></strong>!'
];

Click here for more docs.