Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个跨度位于输入字段内。我想从输入的焦点事件中排除跨度。有任何想法吗?
<input type="text" (focusin)="onFocusIn($event)" (focusout)="onFocusOut($event)"/> <span (mousedown)="onClearClick()"></span>