@webreact/webreactor-readmore
v0.2.1
Published
Read more custom element
Readme
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);