lor indicated by <code>color_idx</code> and
now has <code>onclick</code> event handler which executes the action.</p>
<h2 id="calling-actions-on-startup"><a class="header" href="#calling-actions-on-startup">Calling actions on startup</a></h2>
<p>To invoke certain actions on app startup, define <code>MyApp#setup</code> and use <code>MyApp#actions</code>.</p>
<p>Example:</p>
<pre><code class="language-rb">class MyApp &lt; Ovto::App
  def setup
    actions.fetch_data()
  end

  ...
end

MyApp.run(id: 'ovto')
<