Skip to content

Commit 2f827e4

Browse files
docgen
1 parent c03da10 commit 2f827e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/typedoc/typedoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5855,7 +5855,7 @@
58555855
},
58565856
{
58575857
"tag": "example",
5858-
"text": "\nIf using React components to embed, use the format shown in this example:\n\n```js\n const selectVizs = () => {\n embedRef.current.trigger(HostEvent.SetVisibleVizs, [\n \"715e4613-c891-4884-be44-aa8d13701c06\",\n \"3f84d633-e325-44b2-be25-c6650e5a49cf\"\n ]);\n };\n```\nYou can also attach an EmbedEvent to a Host Event to trigger\na specific action as shown in this example:\n\n```js\n const onLiveboardRendered = () => {\n embedRef.current.trigger(HostEvent.SetVisibleVizs, ['viz1', 'viz2']);\n };\n\n return (\n <LiveboardEmbed\n ref={embedRef}\n liveboardId=\"<liveboard-guid>\"\n onLiveboardRendered={onLiveboardRendered}\n />\n );\n\n```\n"
5858+
"text": "\nIf using React components to embed, use the format shown in this example:\n\n```js\n const selectVizs = () => {\n embedRef.current.trigger(HostEvent.SetVisibleVizs, [\n \"715e4613-c891-4884-be44-aa8d13701c06\",\n \"3f84d633-e325-44b2-be25-c6650e5a49cf\"\n ]);\n };\n```\nYou can also attach an Embed event to a Host event to trigger\na specific action as shown in this example:\n\n```js\n const onLiveboardRendered = () => {\n embedRef.current.trigger(HostEvent.SetVisibleVizs, ['viz1', 'viz2']);\n };\n\n return (\n <LiveboardEmbed\n ref={embedRef}\n liveboardId=\"<liveboard-guid>\"\n onLiveboardRendered={onLiveboardRendered}\n />\n );\n\n```\n"
58595859
},
58605860
{
58615861
"tag": "group",

0 commit comments

Comments
 (0)