Skip to content

Commit

Permalink
fix(runtime): add onSelect to textarea and input (#4616)
Browse files Browse the repository at this point in the history
* fix(runtime): add onSelect to textarea and input

Apparently this has been around for ages and is well supported:

https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select_event

https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select_event

* lowercase attributes
  • Loading branch information
cam-narzt committed Jul 26, 2023
1 parent dcb0763 commit 8ae64f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/declarations/stencil-public-runtime.ts
Expand Up @@ -1031,6 +1031,8 @@ export namespace JSXBase {
minlength?: number | string;
multiple?: boolean;
name?: string;
onSelect?: (event: Event) => void;
onselect?: (event: Event) => void;
pattern?: string;
placeholder?: string;
readOnly?: boolean;
Expand Down Expand Up @@ -1269,6 +1271,8 @@ export namespace JSXBase {
minLength?: number;
minlength?: number | string;
name?: string;
onSelect?: (event: Event) => void;
onselect?: (event: Event) => void;
placeholder?: string;
readOnly?: boolean;
readonly?: boolean | string;
Expand Down

0 comments on commit 8ae64f2

Please sign in to comment.