Skip to content

Commit 8ae64f2

Browse files
authored
fix(runtime): add onSelect to textarea and input (#4616)
* 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
1 parent dcb0763 commit 8ae64f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/declarations/stencil-public-runtime.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,8 @@ export namespace JSXBase {
10311031
minlength?: number | string;
10321032
multiple?: boolean;
10331033
name?: string;
1034+
onSelect?: (event: Event) => void;
1035+
onselect?: (event: Event) => void;
10341036
pattern?: string;
10351037
placeholder?: string;
10361038
readOnly?: boolean;
@@ -1269,6 +1271,8 @@ export namespace JSXBase {
12691271
minLength?: number;
12701272
minlength?: number | string;
12711273
name?: string;
1274+
onSelect?: (event: Event) => void;
1275+
onselect?: (event: Event) => void;
12721276
placeholder?: string;
12731277
readOnly?: boolean;
12741278
readonly?: boolean | string;

0 commit comments

Comments
 (0)