yDropdown</span> <span class="o">=</span> <span class="k">this</span><span class="p">,</span> <span class="nx">myDropdownMenu</span> <span class="o">=</span> <span class="nx">event</span><span class="p">.</span><span class="nx">target</span>
  <span class="c1">// Prevent the dropdown from being deactivated if necessary.</span>
  <span class="nx">event</span><span class="p">.</span><span class="nx">preventDefault</span><span class="p">()</span>
<span class="p">})</span>
</code></pre></div></div>

<h3 id="lud