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

0.7.4 • 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);

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @webreact/fissure-readmore

    Weekly Downloads

    2

    Version

    0.7.4

    License

    ISC

    Unpacked Size

    64.4 kB

    Total Files

    32

    Last publish

    Collaborators

    • lexdekker
    • elderbraum