@webreact/webreactor-readmore
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Fission Read more

You do not want to scare your readers with endless pages of text. This Read more element shortens the text for visitors and adds a toggle button at the end.

Usage

To use the Fission Read more you need to define it, or include de definition file yourself.

import 'define'; // To automatically define wr-read-more.

// This defines the hamburger yourself.
import {ReadMore} from "@webreact/fissure-readmore";

customElements.define('wr-read-more', ReadMore);

/@webreact/webreactor-readmore/

    Package Sidebar

    Install

    npm i @webreact/webreactor-readmore

    Weekly Downloads

    1

    Version

    0.2.1

    License

    ISC

    Unpacked Size

    57.7 kB

    Total Files

    23

    Last publish

    Collaborators

    • lexdekker
    • elderbraum