@stratio/egeo
Version:
77 lines (73 loc) • 2.73 kB
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="stbubblelabelcomponent">StBubbleLabel (Component)</h1>
<p>This component displays a bubble below a content if its width is longer than container</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>text</td>
<td>String</td>
<td>False</td>
<td>Text of the bubble</td>
<td></td>
</tr>
<tr>
<td>minWidth</td>
<td>String</td>
<td>False</td>
<td>min width for bubble</td>
<td></td>
</tr>
<tr>
<td>maxWidth</td>
<td>String</td>
<td>False</td>
<td>max width for bubble</td>
<td></td>
</tr>
<tr>
<td>lines</td>
<td>String</td>
<td>False</td>
<td>number of lines where ellipsis is placed</td>
<td>1</td>
</tr>
<tr>
<td>openToLeft</td>
<td>Boolean</td>
<td>False</td>
<td>when true, bubble is displayed with the arrow to the right</td>
<td>true</td>
</tr>
</tbody>
</table>
<h2 id="example">Example</h2>
<pre><code class="html language-html"><st-bubble-on-ellipsis [text]="'Text for bubble'"
[openToLeft]="true"
[maxWidth]="'40%'">
Any text
</st-bubble-on-ellipsis>
</code></pre>
</body>
</html>