Skip to content

Commit 5c3b9c7

Browse files
ceosionbrandyscarney
authored andcommitted
docs(input): add an example of attaching an event handler function. (#13458)
1 parent 3a28b6d commit 5c3b9c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/input/input.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ import { Platform } from '../../platform/platform';
4444
* `checkbox`, `radio`, `toggle`, `range`, `select`, etc.
4545
*
4646
* Along with the blur/focus events, `input` support all standard text input
47-
* events like `keyup`, `keydown`, `keypress`, `input`,etc. Any standard event
48-
* can be attached and will function as expected.
47+
* events like `keyup`, `keydown`, `keypress`, `input`, etc. Any standard event
48+
* can be attached and will function as expected. Example: `<ion-input (click)="someFunction()"></ion-input>`
4949
*
5050
* @usage
5151
* ```html

0 commit comments

Comments
 (0)