@stratio/egeo
Version:
106 lines (102 loc) • 3.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="radiocomponent">Radio (Component)</h1>
<p>The radio component is used normally in a form acting as the standard html radio input but also user can use it out of a form like a template driven form.</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>Input Id value</td>
<td>'st-radio-
<unique id>'</td>
</tr>
<tr>
<td>qaTag</td>
<td>String</td>
<td>False</td>
<td>Id value for qa test</td>
<td>'st-radio-
<unique id>'</td>
</tr>
<tr>
<td>name</td>
<td>String</td>
<td>False</td>
<td>Input name value</td>
<td>''</td>
</tr>
<tr>
<td>checked</td>
<td>Boolean</td>
<td>False</td>
<td>Boolean to check the radio button</td>
<td>''</td>
</tr>
<tr>
<td>disabled</td>
<td>Boolean</td>
<td>False</td>
<td>Boolean to disable the radio button</td>
<td>''</td>
</tr>
<tr>
<td>value</td>
<td>Boolean</td>
<td>False</td>
<td>Value of the radio button</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>change</td>
<td>Boolean</td>
<td>Boolean emitted when radio button is changed</td>
</tr>
</tbody>
</table>
<h2 id="example">Example</h2>
<pre><code class="html language-html"><st-radio-group class="radio-inline">
<st-radio value="1">Enabled</st-radio>
<st-radio value="2"
[disabled]="true">Disabled</st-radio>
<st-radio value="2"
[checked]="true"
[disabled]="true">Disabled checked</st-radio>
</st-radio-group>
</code></pre>
</body>
</html>