Added sliders

This commit is contained in:
Cooldude2606
2019-09-01 17:18:19 +01:00
parent 129610679e
commit 71b0e16bd0
101 changed files with 549 additions and 161 deletions

View File

@@ -369,6 +369,10 @@
<td class="name"><a href="#table_insert">table_insert(tbl[, start_index], tbl2)</a></td>
<td class="summary">Much faster method for inserting keys into a table</td>
</tr>
<tr>
<td class="name"><a href="#resolve_value">resolve_value(value)</a></td>
<td class="summary">Used to resolve a value that could also be a function returning that value</td>
</tr>
</tbody>
</table>
<!-- module section list end -->
@@ -2664,6 +2668,68 @@ Common.array_insert(tbl,<span class="number">500</span>,values) -- around <span
Common.table_insert(tbl,<span class="number">50</span>,tbl2)</code></pre>
<!-- usage end -->
</dd>
<dt>
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#resolve_value" class="fragment-hashtag">#</a>
<span class="section-item-title" id="resolve_value">resolve_value(value)</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Used to resolve a value that could also be a function returning that value</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>value</em></strong>
<strong> : </strong>
(<span class="types"><span class="type">any</span></span>)
the value which you want to test is not nil and if it is a function then call the function
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><span class="type">any</span></span>)
<span class="return-text">the value given or returned by value if it is a function</span>
</li>
</ul>
<!-- returns end -->
<!-- see also start -->
<!-- see also end -->
<!-- usage start -->
<strong>Usage:</strong>
<pre class="code" data-lang="Lua"><code><span class="comment">-- Default value handling
</span><span class="comment">-- if default value is not a function then it is returned
</span><span class="comment">-- if it is a function then it is called with the first argument being self
</span><span class="keyword">local</span> value = Common.resolve_value(self.defaut_value,self)</code></pre>
<!-- usage end -->
</dd>
</dl>
@@ -2680,7 +2746,7 @@ Common.table_insert(tbl,<span class="number">50</span>,tbl2)</code></pre>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div>
<div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-31 17:46:10 UTC</i>
<i>Last updated 2019-09-01 17:18:10 UTC</i>
</div>
</div>
</div>