UNPKG

@sandlada/vue-mdc

Version:

![Vue MDC Logo](https://raw.githubusercontent.com/sandlada/vue-mdc/refs/heads/main/docs/vue-mdc-cover.png)

24 lines 744 B
/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 * * @link https://github.com/material-components/material-web/blob/main/internal/events/redispatch-event.ts */ /** * Re-dispatches an event from the provided element. * * This function is useful for forwarding non-composed events, such as `change` * events. * * @example * redispatchEvent(event: Event) { * redispatchEvent(this, event); * } * * @param element The element to dispatch the event from. * @param event The event to re-dispatch. * @return Whether or not the event was dispatched (if cancelable). */ export declare function redispatchEvent(element: Element, event: Event): boolean; //# sourceMappingURL=redispatch-event.d.ts.map