11<!-- search-meta
2- tags: [LiveboardEmbed, liveboard, React, TypeScript, runtimeFilters, EmbedEvent, HostEvent, visibleActions, hiddenActions, Action]
2+ tags: [LiveboardEmbed, liveboard, React, TypeScript, runtimeFilters, EmbedEvent, HostEvent, visibleActions, hiddenActions, disabledActions, Action]
33apis: [LiveboardEmbed, EmbedEvent, HostEvent, RuntimeFilterOp, useEmbedRef, init, AuthType, Action, visibleActions, hiddenActions, disabledActions]
44questions:
55 - How do I embed a ThoughtSpot liveboard in React?
@@ -8,7 +8,7 @@ questions:
88 - How do I embed a liveboard with full height in React?
99 - How do I use LiveboardEmbed with tabs?
1010 - How do I hide or show specific actions in a LiveboardEmbed?
11- - How do I use visibleActions or hiddenActions to control the embed toolbar ?
11+ - What is the difference between disabledActions and hiddenActions in LiveboardEmbed ?
1212 - How do I disable specific menu actions in an embedded liveboard?
1313-->
1414
@@ -35,13 +35,13 @@ const embed = new LiveboardEmbed(document.getElementById("ts-embed"), {
3535 frameParams: { width: " 100%" , height: " 100%" },
3636 liveboardId: " your-liveboard-id" ,
3737
38- // Show only specific actions in the toolbar
38+ // Show only specific actions in the toolbar (allow-list)
3939 visibleActions: [Action .DownloadAsPdf , Action .Share , Action .DrillDown ],
4040
41- // Or hide specific actions instead
41+ // Hide specific actions — removes them completely from the UI
4242 // hiddenActions: [Action.Edit, Action.Delete],
4343
44- // Disable actions without hiding them
44+ // Disable specific actions — keeps them visible but grayed out (non-clickable)
4545 // disabledActions: [Action.Edit],
4646});
4747
0 commit comments