import { .. } from '@thoughtspot/visual-embed-sdk';
init({ ... });
const embed = new LiveboardEmbed("#container", {
liveboardId: <your-id-here>,
// .. other params here.
})
LiveboardEmbed
Embed a ThoughtSpot Liveboard or visualization. When rendered it already
waits for the authentication to complete, so you need not wait for
AuthStatus.SUCCESS.
Index🔗
Constructors🔗
new LiveboardEmbed(domSelector: DOMSelector , viewConfig: LiveboardViewConfig ) : LiveboardEmbed
Function Parameters
- domSelector
-
-
domSelector: DOMSelector
-
- viewConfig
-
-
viewConfig: LiveboardViewConfig
-
Returns
Defined in : embed/liveboard.ts
Overrides V1Embed.constructor
Methods🔗
destroy🔗
destroy() : void
Destroys the ThoughtSpot embed, and remove any nodes from the DOM.
Returns
void
Version : SDK: 1.39.0 | ThoughtSpot: 10.10.0.cl
Defined in : embed/liveboard.ts
Overrides V1Embed.destroy
getAnswerService🔗
getAnswerService(vizId?: string ) : Promise< AnswerService >
Returns the answerService which can be used to make arbitrary graphql calls on top session.
Function Parameters
- vizId
-
Optional
-
vizId: string
-
to get for a specific viz in case of a Liveboard.
Returns
Promise< AnswerService >
Version : SDK: 1.25.0 / ThoughtSpot 9.10.0
Defined in : embed/ts-embed.ts
Inherited from V1Embed.getAnswerService