 
                                <h1 id="options">Options</h1>
<h2 id="scriptable-options">Scriptable Options</h2>
<p>Scriptable options also accept a function which is called for each data and that takes the unique argument <code>context</code> representing contextual information (see <a href="options.html#option-context">option context</a>).</p>
<p>Example:</p>
<pre><code class="lang-javascript">color: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">contex