 Any variable declared as shown below will be accessible by all functions declared in the <code>factory</code>; <code>renderValue</code>, but also <code>resize</code> and others yet to be added.</p>
<div class="sourceCode" id="cb161"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb161-1"><a href="advanced-topics.html#cb161-1"></a>HTMLWidgets<span class="op">.</span><span class="fu">widget</span>({</span>
<span id="cb161-2"><a href="advanced-topics.html#cb161-2"></a></span>
<span i