mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 01:22:59 +08:00
Docs update
This commit is contained in:
parent
1f3d5ddf0d
commit
04b2a730ef
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1331,7 +1331,7 @@ As keys are pressed, text will be added/removed at that position within the inpu
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber512">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber507">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -1376,7 +1376,7 @@ As keys are pressed, text will be added/removed at that position within the inpu
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber578">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber573">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -1420,7 +1420,7 @@ As keys are pressed, text will be added/removed at that position within the inpu
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber588">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber583">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -1550,7 +1550,7 @@ As keys are pressed, text will be added/removed at that position within the inpu
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber725">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber720">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2092,7 +2092,7 @@ keyboard.clearInput();</code></pre>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber548">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber543">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2227,7 +2227,7 @@ keyboard.clearInput();</code></pre>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber368">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber363">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2307,7 +2307,7 @@ keyboard.clearInput();</code></pre>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber501">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber496">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2367,7 +2367,7 @@ keyboard.clearInput();</code></pre>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber342">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber337">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2473,7 +2473,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber352">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber347">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2546,7 +2546,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber470">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber465">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2935,7 +2935,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber488">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber483">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -2979,7 +2979,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber558">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber553">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -3023,7 +3023,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber523">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber518">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -3067,7 +3067,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber540">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber535">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -3111,7 +3111,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber418">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber413">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@ -3191,7 +3191,7 @@ Used interally between re-renders.</p>
|
|||||||
<span class="right-info">
|
<span class="right-info">
|
||||||
|
|
||||||
|
|
||||||
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber595">source</a></span></span>
|
<span data-ice="source"><span><a href="file/src/lib/components/Keyboard.js.html#lineNumber590">source</a></span></span>
|
||||||
</span>
|
</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ class App {
|
|||||||
* Creates a new simple-keyboard instance
|
* Creates a new simple-keyboard instance
|
||||||
*/
|
*/
|
||||||
this.keyboard = new Keyboard({
|
this.keyboard = new Keyboard({
|
||||||
//debug: true,
|
debug: true,
|
||||||
layoutName: this.layoutName,
|
layoutName: this.layoutName,
|
||||||
onChange: input => this.onChange(input),
|
onChange: input => this.onChange(input),
|
||||||
onKeyPress: button => this.onKeyPress(button),
|
onKeyPress: button => this.onKeyPress(button),
|
||||||
|
@ -370,11 +370,6 @@ class SimpleKeyboard {
|
|||||||
option = option || {};
|
option = option || {};
|
||||||
this.options = Object.assign(this.options, option);
|
this.options = Object.assign(this.options, option);
|
||||||
this.render();
|
this.render();
|
||||||
|
|
||||||
/**
|
|
||||||
* Apply modules
|
|
||||||
*/
|
|
||||||
this.loadModules();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because one or more lines are too long
@ -58,9 +58,9 @@
|
|||||||
<td data-ice="filePath"><span><a href="file/src/demo/App.js.html">src/demo/App.js</a></span></td>
|
<td data-ice="filePath"><span><a href="file/src/demo/App.js.html">src/demo/App.js</a></span></td>
|
||||||
<td data-ice="identifier" class="identifiers"><span><a href="class/src/demo/App.js~App.html">App</a></span></td>
|
<td data-ice="identifier" class="identifiers"><span><a href="class/src/demo/App.js~App.html">App</a></span></td>
|
||||||
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">8/8</span></td>
|
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">8/8</span></td>
|
||||||
<td style="display: none;" data-ice="size">1921 byte</td>
|
<td style="display: none;" data-ice="size">1919 byte</td>
|
||||||
<td style="display: none;" data-ice="lines">84</td>
|
<td style="display: none;" data-ice="lines">84</td>
|
||||||
<td style="display: none;" data-ice="updated">2018-10-04 19:55:38 (UTC)</td>
|
<td style="display: none;" data-ice="updated">2018-10-04 21:55:09 (UTC)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr data-ice="file">
|
<tr data-ice="file">
|
||||||
<td data-ice="filePath"><span><a href="file/src/demo/index.js.html">src/demo/index.js</a></span></td>
|
<td data-ice="filePath"><span><a href="file/src/demo/index.js.html">src/demo/index.js</a></span></td>
|
||||||
@ -74,9 +74,9 @@
|
|||||||
<td data-ice="filePath"><span><a href="file/src/lib/components/Keyboard.js.html">src/lib/components/Keyboard.js</a></span></td>
|
<td data-ice="filePath"><span><a href="file/src/lib/components/Keyboard.js.html">src/lib/components/Keyboard.js</a></span></td>
|
||||||
<td data-ice="identifier" class="identifiers"><span><a href="class/src/lib/components/Keyboard.js~SimpleKeyboard.html">SimpleKeyboard</a></span></td>
|
<td data-ice="identifier" class="identifiers"><span><a href="class/src/lib/components/Keyboard.js~SimpleKeyboard.html">SimpleKeyboard</a></span></td>
|
||||||
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">39/39</span></td>
|
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">39/39</span></td>
|
||||||
<td style="display: none;" data-ice="size">23754 byte</td>
|
<td style="display: none;" data-ice="size">23687 byte</td>
|
||||||
<td style="display: none;" data-ice="lines">740</td>
|
<td style="display: none;" data-ice="lines">735</td>
|
||||||
<td style="display: none;" data-ice="updated">2018-10-04 21:54:18 (UTC)</td>
|
<td style="display: none;" data-ice="updated">2018-10-04 22:40:24 (UTC)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr data-ice="file">
|
<tr data-ice="file">
|
||||||
<td data-ice="filePath"><span><a href="file/src/lib/index.js.html">src/lib/index.js</a></span></td>
|
<td data-ice="filePath"><span><a href="file/src/lib/index.js.html">src/lib/index.js</a></span></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user