UNPKG

@fluentui/dom-utilities

Version:

DOM utilities for use within Fluent web components

8 lines 229 B
export var getEventTarget = function (event) { var target = event.target; if (target && target.shadowRoot) { target = event.composedPath()[0]; } return target; }; //# sourceMappingURL=getEventTarget.js.map