-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(input): add event emitters for blur and focus to the ion-input co…
…mponent fixes #5487
- Loading branch information
1 parent
9047754
commit 3e88fe9
Showing
4 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
import {App} from 'ionic-angular'; | ||
import {App, Page} from 'ionic-angular'; | ||
|
||
|
||
@App({ | ||
@Page({ | ||
templateUrl: 'main.html' | ||
}) | ||
class E2EApp { | ||
class PageOne { | ||
url; | ||
input1: string = 'Text 1'; | ||
|
||
constructor() { | ||
this.input1 = 'Text 1'; | ||
onEvent(event) { | ||
console.log("Did Event:", event.type); | ||
} | ||
} | ||
|
||
@App({ | ||
template: '<ion-nav [root]="root"></ion-nav>' | ||
}) | ||
class E2EApp { | ||
root = PageOne; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters