@stratio/egeo
Version:
78 lines (74 loc) • 2.7 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="draggablecardcomponent">Draggable card (Component)</h1>
<p>The draggable card component is a custom draggable item.</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>id</td>
<td>String</td>
<td>False</td>
<td>Card id</td>
<td></td>
</tr>
<tr>
<td>draggable</td>
<td>Boolean</td>
<td>False</td>
<td>Boolean to enable or disable dragging</td>
<td>true</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>dragStart</td>
<td>Any</td>
<td>Event emitted when user start dragging card</td>
</tr>
<tr>
<td>dragEnd</td>
<td>Any</td>
<td>Event emitted when user drops dragging card</td>
</tr>
</tbody>
</table>
<h2 id="example">Example</h2>
<pre><code class="html language-html"><st-draggable-card class="card"
id="1"
(onDragStart)="drag($event)">
<p>Draggable card 1</p>
</st-draggable-card>
</code></pre>
</body>
</html>