Skip to content

Commit

Permalink
feat: Added keyup and focus to Input/IInput
Browse files Browse the repository at this point in the history
Signed-off-by: Jaman Brundage <jbrundage372@gmail.com>
  • Loading branch information
jbrundage committed Jan 25, 2019
1 parent 4872e7d commit b276982
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api/src/IInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export abstract class IInput extends Widget {
// Events ---
blur(_w) {
}
keyup(_w) {
}
focus(_w) {
}
click(_w) {
}
dblclick(_w) {
Expand Down
2 changes: 2 additions & 0 deletions packages/form/src/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ export class Input extends HTMLWidget {

// IInput Events ---
blur: (w: Input) => void;
keyup: (w: Input) => void;
focus: (w: Input) => void;
click: (w: Input) => void;
dblclick: (w: Input) => void;
change: (w: Input, complete: boolean) => void;
Expand Down

0 comments on commit b276982

Please sign in to comment.