UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

16 lines (15 loc) 874 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** Creates a browser MouseEvent with the specified options. */ export declare function createMouseEvent(type: string, x?: number, y?: number): MouseEvent; /** Creates a browser TouchEvent with the specified pointer coordinates. */ export declare function createTouchEvent(type: string, pageX?: number, pageY?: number): UIEvent; /** Dispatches a keydown event from an element. */ export declare function createKeyboardEvent(type: string, keyCode: number, target?: Element, key?: string): KeyboardEvent; /** Creates a fake event object with any desired event type. */ export declare function createFakeEvent(type: string, canBubble?: boolean, cancelable?: boolean): Event;