@fluid-topics/ft-reader-topic-metadata
v1.1.99
Published
Metadata of a topic in integrated reader.
Downloads
2,147
Readme
Metadata of a topic in integrated reader.
Install
npm install @fluid-topics/ft-reader-topic-metadata
yarn add @fluid-topics/ft-reader-topic-metadata
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-metadata"
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-metadata key="version"></ft-reader-topic-metadata>
</ft-reader-topic-context>
</ft-reader-context>
`
}