UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

7 lines (6 loc) 282 B
/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 */ function t(t,o){!o.bubbles||t.shadowRoot&&!o.composed||o.stopPropagation();const e=new o.constructor(o.type,o),n=!t.dispatchEvent(e);return n&&o.preventDefault(),n}export{t as redispatchEvent};