js event click start code example
Example 1: does click event work only for buttons
button > * {
pointer-events: none;
}
Example 2: does click event work only for buttons
<button>
<svg>
<use xlink:href="#gear"></use>
</svg>
</button>
button > * {
pointer-events: none;
}
<button>
<svg>
<use xlink:href="#gear"></use>
</svg>
</button>