@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
7 lines • 524 B
JavaScript
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
function e(e){let t=new MouseEvent(`click`,{bubbles:!0});return e.dispatchEvent(t),t}function t(e){return e.currentTarget!==e.target||e.composedPath()[0]!==e.target||e.target.disabled?!1:!n(e)}function n(e){let t=r;return t&&(e.preventDefault(),e.stopImmediatePropagation()),i(),t}let r=!1;async function i(){r=!0,await null,r=!1}export{e as dispatchActivationClick,t as isActivationClick};
//# sourceMappingURL=form-label-activation.js.map