Skip to content

Commit b6e416e

Browse files
authored
Merge pull request #50 from thoughtspot/SCAL-304518-ex
SCAL-304518 readme update
2 parents 3c67a78 + 34ce0f4 commit b6e416e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎visual-embed/liveboard/README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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]
33
apis: [LiveboardEmbed, EmbedEvent, HostEvent, RuntimeFilterOp, useEmbedRef, init, AuthType, Action, visibleActions, hiddenActions, disabledActions]
44
questions:
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

Comments
 (0)