JSPM

add-span-text

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q16819F
  • License ISC

Add span each letter of text

Package Exports

  • add-span-text
  • add-span-text/index.js

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

Readme

Add Span Text

npm i add-span-text

import package

import addSpanText from 'add-span-text';

calling addSpanText function from a package with text to animate

addSpanText('hello world');

Add this container in html - div or p or whatever you want but with id="text-container" class="text-container"

<div id="text-container" class="text-container"></div

add span text