@fluid-topics/ft-reader-topic-content
TypeScript icon, indicating that this package has built-in type declarations

1.1.40 • Public • Published

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>
    `
}

Readme

Keywords

Package Sidebar

Install

npm i @fluid-topics/ft-reader-topic-content

Weekly Downloads

236

Version

1.1.40

License

ISC

Unpacked Size

225 kB

Total Files

14

Last publish

Collaborators

  • antidot
  • mike.antidot