UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

58 lines (55 loc) 1.86 kB
import { ModifierKeys } from "./ModifierKeys"; import { KeyEventArgs as KeyEventArgs_internal } from "./KeyEventArgs"; /** * Event args for KeyUp and KeyDown events. */ export declare class IgxKeyEventArgs { protected _implementation: any; /** * @hidden */ get i(): KeyEventArgs_internal; private onImplementationCreated; constructor(); protected _provideImplementation(i: any): void; get originalEvent(): any; /** * Gets a value indicating whether the ALT key was pressed. */ get alt(): boolean; static ngAcceptInputType_alt: boolean | string; /** * Gets a value indicating whether the CTRL key was pressed. */ get ctrl(): boolean; static ngAcceptInputType_ctrl: boolean | string; /** * Gets the keyboard code for a KeyDown or KeyUp event. */ get keyCode(): number; static ngAcceptInputType_keyCode: number | string; /** * Gets the modifier flags for a KeyDown or KeyUp event. * The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed. */ get modifiers(): ModifierKeys; static ngAcceptInputType_modifiers: ModifierKeys | string; /** * Gets a value indicating whether the SHIFT key was pressed. */ get shift(): boolean; static ngAcceptInputType_shift: boolean | string; /** * Gets whether the PreventDefault method was called. */ get defaultPrevented(): boolean; static ngAcceptInputType_defaultPrevented: boolean | string; /** * Tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be. */ preventDefault(): void; /** * Prevent the event from bubbling up. */ stopPropagation(): void; }