an class="hljs-keyword">var</span> widget2 = dashboard.createWidget({ <span class="hljs-attr">title</span>: <span class="hljs-string">'Widget 2'</span>, <span class="hljs-attr">id</span>: <span class="hljs-string">'two'</span>});
<span class="hljs-keyword">var</span> widget3 = dashboard.createWidget({ <span class="hljs-attr">title</span>: <span class="hljs-string">'Widget 3'</span>, <span class="hljs-attr">height</span>: <span class="hljs-string">"300px"</span>, <span class="hljs-attr">showDragControl</span