@fluid-topics/ft-reader-navigation-button
v1.1.80
Published
Button used to navigate between pages in an integrated reader context.
Downloads
1,486
Readme
Button used to navigate between pages in an integrated reader context.
Install
npm install @fluid-topics/ft-reader-navigation-button
yarn add @fluid-topics/ft-reader-navigation-button
Usage
See @fluid-topics/ft-reader-context for more information about integrated readers for Fluid Topics.
import { html } from "lit"
import "@fluid-topics/ft-reader-context"
import "@fluid-topics/ft-reader-navigation-button"
function render() {
return html`
<ft-reader-context baseUrl="https://my.fluidtopics.com" mapId="<Map ID>">
<ft-reader-navigation-button target="previous"></ft-reader-navigation-button>
<ft-reader-navigation-button target="next"></ft-reader-navigation-button>
</ft-reader-context>
`
}