class="hljs-string">'resize'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">event</span>)</span>{
  <span class="hljs-comment">// do something when the element is resized.</span>
});</code></pre></div></div></div> </div></div></div><div class="qm-docs-topic"><div class="qm-docs-anchor" id="api"><div class="qm-docs-topic-header qm-header-font">Api<a class="qm-docs-anchor-icon" href="#api"></a></div></div><div class="qm-docs-topic-body"><div class="qm-