UNPKG

@stratio/egeo

Version:
82 lines (78 loc) 3.14 kB
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Stratio Egeo - Documentation</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" type="image/png" href="assets/images/favicon.png"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> </head> <body class="container-fluid"> <a href="/index.html">Go Back to index</a><br> <h1 id="horizontaltabscomponent">Horizontal tabs (Component)</h1> <p>The tabs are a navigation component that divides content into separate views hiding the ones that the user is not focused in.</p> <h2 id="inputs">Inputs</h2> <table class="table table-striped"> <thead> <tr> <th id="property">Property</th> <th id="type">Type</th> <th id="req">Req</th> <th id="description">Description</th> <th id="default">Default</th> </tr> </thead> <tbody> <tr> <td>activeOption</td> <td>StHorizontalTab</td> <td>False</td> <td>Current active option</td> <td>''</td> </tr> <tr> <td>options</td> <td>StHorizontalTab[]</td> <td>True</td> <td>An array of StHorizontalTab objects (see below) that defines the links that will appear and that will be disabled</td> <td>''</td> </tr> <tr> <td>qaTag</td> <td>String</td> <td>False</td> <td>Prefix used to generate the id values for qa tests</td> <td>''</td> </tr> </tbody> </table> <h2 id="outputs">Outputs</h2> <table class="table table-striped"> <thead> <tr> <th id="property">Property</th> <th id="type">Type</th> <th id="description">Description</th> </tr> </thead> <tbody> <tr> <td>changedOption</td> <td>StHorizontalTab</td> <td>This event is emitted when active option has changed. It has the active option name as param</td> </tr> </tbody> </table> <h2 id="example">Example</h2> <pre><code class="html language-html">&lt;st-horizontal-tabs [options]="options" [qaTag]="qaTag"&gt; &lt;/st-horizontal-tabs&gt; </code></pre> <h2 id="models">Models</h2> <p><em>Id, text and optional status of a tab</em> (StStHorizontalTab)</p> <pre><code class="typescript language-typescript"> </code></pre> </body> </html>