@fluid-topics/ft-reader-topic-content
v1.1.82
Published
Content of a topic in integrated reader.
Downloads
1,295
Readme
Content of a topic in integrated reader.
Install
npm install @fluid-topics/ft-reader-topic-content
yarn add @fluid-topics/ft-reader-topic-content
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-topic-context"
import "@fluid-topics/ft-reader-topic-content"
function render() {
return html`
<ft-reader-context baseUrl="https://my.fluidtopics.com" mapId="<Map ID>">
<ft-reader-topic-context tocId="<Topic ToC ID>">
<ft-reader-topic-content></ft-reader-topic-content>
</ft-reader-topic-context>
</ft-reader-context>
`
}