Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
740 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | /**
|
---|
| 9 | * Patches an elements focus and blur methods to emit events consistently and predictably.
|
---|
| 10 | * This is necessary, because some browsers, like IE11, will call the focus handlers asynchronously,
|
---|
| 11 | * while others won't fire them at all if the browser window is not focused.
|
---|
| 12 | * @docs-private
|
---|
| 13 | */
|
---|
| 14 | export declare function patchElementFocus(element: HTMLElement): void;
|
---|
| 15 | /** @docs-private */
|
---|
| 16 | export declare function triggerFocus(element: HTMLElement): void;
|
---|
| 17 | /** @docs-private */
|
---|
| 18 | export declare function triggerBlur(element: HTMLElement): void;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.