How to get the brothers of the element clicked on jq 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>