Skip to content

Commit

Permalink
Merge pull request #551 from d45/gh-pages-dev
Browse files Browse the repository at this point in the history
fixing viz extension code snippet
  • Loading branch information
d45 authored Jun 18, 2024
2 parents f09404d + 8aa59a2 commit 8095e81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/static/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h1>Tableau Extensions API</h1>
</a>
<p>The Tableau Extensions API is a JavaScript library that is organized into namespaces that contain
the classes and methods for communicating with Tableau components. The Tableau Extensions API
library supports both dashboard extensions and viz extensions (only available in beta), although not
library supports both dashboard extensions and viz extensions, although not
all interfaces and methods apply to both extensions. For an overview of how the API is organized,
see <a href="../docs/trex_api_about">Tableau Extensions API Basics</a>.</p>
<div class="alert alert-info">
Expand All @@ -94,7 +94,7 @@ <h1>Tableau Extensions API</h1>
</tr>
<tr>
<td align="left"><a href="./interfaces/worksheetcontent.html">WorksheetContent</a></td>
<td align="left"><strong>(Available to viz extensions beta only)</strong> The <code>worksheetContent</code> provides access to the worksheet object. When you have the worksheet object, you have access to all elements in the <a href="./interfaces/worksheet.html">worksheet</a>, including the <a href="./interfaces/dashboard.html#worksheets">worksheets</a>, <a href="./interfaces/markscollection.html">marks</a>, <a href="./interfaces/filter.html">filters</a>, <a href="./interfaces/parameter.html">parameters</a>, and <a href="./interfaces/datasource.html">data sources</a>. For example, to access the worksheet in a workbook (after initialization), you might have a line of code that looks like the following: <br> <code>const worksheet = tableau.extensions.worksheetContent</code></td>
<td align="left"><strong>(Available to viz extensions only)</strong> The <code>worksheetContent</code> provides access to the worksheet object. When you have the worksheet object, you have access to all elements in the <a href="./interfaces/worksheet.html">worksheet</a>, including the <a href="./interfaces/dashboard.html#worksheets">worksheets</a>, <a href="./interfaces/markscollection.html">marks</a>, <a href="./interfaces/filter.html">filters</a>, <a href="./interfaces/parameter.html">parameters</a>, and <a href="./interfaces/datasource.html">data sources</a>. For example, to access the worksheet in a workbook (after initialization), you might have a line of code that looks like the following: <br> <code>const worksheet = tableau.extensions.worksheetContent.worksheet</code></td>
</tr>
<tr>
<td align="left"><a href="./interfaces/settings.html">Settings</a></td>
Expand All @@ -117,7 +117,7 @@ <h2>Dashboard extensions</h2>
<p><img src="assets/tab_ext_class_worksheet.png" alt="Extensions API namespace hierarchy"></p>
<hr>
<a href="#viz-extensions-available-in-beta-only" id="viz-extensions-available-in-beta-only" style="color: inherit; text-decoration: none;">
<h2>Viz extensions (available in beta only)</h2>
<h2>Viz extensions</h2>
</a>
<p>The following diagram shows the relationship between the extensions namespace and the worksheets in
the workbook. For more information, see <a href="../docs/trex_api_about">Tableau Extensions API Basics</a>.</p>
Expand Down

0 comments on commit 8095e81

Please sign in to comment.