components/onboarding/tour/anchors#
getAnchorElement()#
Parameters#
| Parameter | Type |
|---|---|
anchor |
TourAnchorId |
key? |
string |
Returns#
HTMLElement | null
tourAnchorProps()#
function tourAnchorProps(anchor, key?): {
data-tour-anchor: TourAnchorId;
data-tour-anchor-key: string;
};
key disambiguates anchors that several instances share, e.g. the two plots on the FID page.
Parameters#
| Parameter | Type |
|---|---|
anchor |
TourAnchorId |
key? |
string |
Returns#
data-tour-anchor#
data-tour-anchor-key#
TourAnchor#
const TourAnchor: {
AppBar: "app-bar";
BrowserPanel: "browser-panel";
ConnectionButton: "connection-button";
Navbar: "navbar";
PageFeature: "page-feature";
PlotActionSidebar: "plot-action-sidebar";
PlotCanvas: "plot-canvas";
ProcessorCanvas: "processor-canvas";
StartExperiment: "start-experiment";
StatusBar: "status-bar";
WorkspaceTabBar: "workspace-tab-bar";
};
Type Declaration#
AppBar#
BrowserPanel#
ConnectionButton#
Navbar#
PageFeature#
PlotActionSidebar#
PlotCanvas#
ProcessorCanvas#
StartExperiment#
StatusBar#
WorkspaceTabBar#
TourAnchor#
TourAnchorId#
A core anchor, or a plugin's own <pluginId>:<name> one, namespaced so it cannot shadow a core id.