Skip to content

Commit 87a3a29

Browse files
author
AleBles
committed
Exposed focusIn/focusOut, fixes #40
1 parent 01add91 commit 87a3a29

File tree

8 files changed

+59
-34
lines changed

8 files changed

+59
-34
lines changed

build/phaser-input.d.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ declare module PhaserInput {
1010
private type;
1111
private id;
1212
private game;
13-
focusIn: Phaser.Signal;
14-
focusOut: Phaser.Signal;
15-
constructor(game: Phaser.Game, id: string, type?: InputType, value?: string);
13+
private focusIn;
14+
private focusOut;
15+
constructor(game: Phaser.Game, id: string, type?: InputType, value?: string, focusIn?: Phaser.Signal, focusOut?: Phaser.Signal);
1616
addKeyUpListener(callback: () => void): void;
1717
blockKeyDownEvents(): void;
1818
private preventKeyPropagation(evt);
@@ -66,6 +66,8 @@ declare module PhaserInput {
6666
private selection;
6767
private windowScale;
6868
blockInput: boolean;
69+
focusIn: Phaser.Signal;
70+
focusOut: Phaser.Signal;
6971
width: number;
7072
constructor(game: Phaser.Game, x: number, y: number, inputOptions?: InputOptions);
7173
private updateTextAlignment();

build/phaser-input.js

Lines changed: 22 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/phaser-input.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)