accessible-react-checkbox-group
Version:
A rewrite of react-checkbox-group with accessibility features
340 lines (108 loc) • 4.81 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: PreContextualizedCheckbox</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: PreContextualizedCheckbox</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>PreContextualizedCheckbox<span class="signature">(props)</span><span class="type-signature"></span></h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="PreContextualizedCheckbox"><span class="type-signature"></span>new PreContextualizedCheckbox<span class="signature">(props)</span><span class="type-signature"></span></h4>
<div class="description">
A simple stateless functional component that renders a checkbox.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>props</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last">The props object for the component.
<h6>Properties</h6>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>value</code></td>
<td class="type">
<span class="param-type"><a href="global.html#CheckboxValue">CheckboxValue</a></span>
</td>
<td class="attributes">
</td>
<td class="description last">The value of the checkbox.</td>
</tr>
<tr>
<td class="name"><code>indeterminate</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="attributes">
</td>
<td class="description last">Whether or not the checkbox is indeterminate.</td>
</tr>
<tr>
<td class="name"><code>restProps</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="attributes">
<repeatable><br>
</td>
<td class="description last">Any additional props for the checkbox input element.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line59">line 59</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="PreContextualizedCheckbox.html">PreContextualizedCheckbox</a></li></ul><h3>Global</h3><ul><li><a href="global.html#extractContext">extractContext</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Jun 06 2018 14:47:34 GMT-0400 (Eastern Daylight Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>