Dropdown toggles trigger click tracking instrumentation

Bug: T284542
Change-Id: Ib019c616bc53ebab50ed9eeef05b6d9712958f38
This commit is contained in:
jdlrobson 2021-06-24 14:51:23 -07:00 committed by Jdlrobson
parent b8545c4b5e
commit 62d0cf8d92
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@
<nav id="{{id}}" {{#class}}class="{{.}}"{{/class}} aria-labelledby="{{id}}-label" role="navigation" {{{html-tooltip}}}
{{{html-user-language-attributes}}}>
{{#is-dropdown}}
<input type="checkbox" class="vector-menu-checkbox" aria-labelledby="{{id}}-label" />
<input type="checkbox"
data-event-name="ui.dropdown-{{id}}"
class="vector-menu-checkbox" aria-labelledby="{{id}}-label" />
{{/is-dropdown}}
<h3 id="{{id}}-label" {{#heading-class}}class="{{.}}"{{/heading-class}}>
<span>{{label}}</span>