0.2.1 • Published 3 years ago

@webreact/webreactor-readmore v0.2.1

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

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