ons.fooga === 1
    },

    view : function(ctrl, options) {
        // options.fooga == 1
    }
}

m(&quot;div&quot;, m.component(component, { fooga : 1 }))
</code></pre>
<h3 id="v1x6"><a href="#v1x6"><code>v1.x</code></a></h3>
<pre><code class="lang-javascript">var component = {
    oninit : function(vnode) {
        // vnode.attrs.fooga === 1
    },

    view : function(vnode) {
        // vnode.attrs.fooga == 1
    }
}

m(&quot;div&quot;, m(component, { fooga : 1 }))
</code></pre>
<hr>
<h2 id="view-para