File tree Expand file tree Collapse file tree 6 files changed +33
-38
lines changed
packages/ui-webc/src/components Expand file tree Collapse file tree 6 files changed +33
-38
lines changed Original file line number Diff line number Diff line change 1818
1919## Events
2020
21- | Event | Description | Type |
22- | ----------------- | ----------------------------------------------- | --------------------------------------------------------------- |
23- | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
24- | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
25- | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
26- | ` scoutBlur ` | | ` CustomEvent<void> ` |
27- | ` scoutChecked ` | | ` CustomEvent<{ checked: boolean; element: HTMLInputElement; }> ` |
21+ | Event | Description | Type |
22+ | ------------------ | ----------------------------------------------- | --------------------------------------------------------------- |
23+ | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
24+ | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
25+ | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
26+ | ` scoutBlur ` | | ` CustomEvent<void> ` |
27+ | ` scoutChecked ` | | ` CustomEvent<{ checked: boolean; element: HTMLInputElement; }> ` |
2828| ` scoutInputChange ` | | ` CustomEvent<{ value: string; element: HTMLElement; }> ` |
2929
3030
Original file line number Diff line number Diff line change 1818
1919## Events
2020
21- | Event | Description | Type |
22- | ----------------- | ----------------------------------------------- | ------------------------------------------------------- |
23- | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
24- | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
25- | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
26- | ` scoutBlur ` | | ` CustomEvent<void> ` |
21+ | Event | Description | Type |
22+ | ------------------ | ----------------------------------------------- | ------------------------------------------------------- |
23+ | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
24+ | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
25+ | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
26+ | ` scoutBlur ` | | ` CustomEvent<void> ` |
2727| ` scoutInputChange ` | | ` CustomEvent<{ value: string; element: HTMLElement; }> ` |
2828
2929
Original file line number Diff line number Diff line change 1818
1919## Events
2020
21- | Event | Description | Type |
22- | ----------------- | ----------------------------------------------- | --------------------------------------------------------------- |
23- | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
24- | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
25- | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
26- | ` scoutBlur ` | | ` CustomEvent<void> ` |
27- | ` scoutChecked ` | | ` CustomEvent<{ checked: boolean; element: HTMLInputElement; }> ` |
21+ | Event | Description | Type |
22+ | ------------------ | ----------------------------------------------- | --------------------------------------------------------------- |
23+ | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
24+ | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
25+ | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
26+ | ` scoutBlur ` | | ` CustomEvent<void> ` |
27+ | ` scoutChecked ` | | ` CustomEvent<{ checked: boolean; element: HTMLInputElement; }> ` |
2828| ` scoutInputChange ` | | ` CustomEvent<{ value: string; element: HTMLElement; }> ` |
2929
3030
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ A styled native select component for choosing from a list of options.
4040
4141## Events
4242
43- | Event | Description | Type |
44- | ----------------- | ----------------------------------------------- | ------------------------------------------------------- |
45- | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
46- | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
47- | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
48- | ` scoutBlur ` | | ` CustomEvent<void> ` |
43+ | Event | Description | Type |
44+ | ------------------ | ----------------------------------------------- | ------------------------------------------------------- |
45+ | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
46+ | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
47+ | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
48+ | ` scoutBlur ` | | ` CustomEvent<void> ` |
4949| ` scoutInputChange ` | | ` CustomEvent<{ value: string; element: HTMLElement; }> ` |
5050
5151
Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ export class ScoutSelect
3030
3131 @Prop ( ) name : string ;
3232
33- componentWillLoad ( ) : Promise < void > | void {
34- this . ariaId = `_${ Math . random ( ) . toString ( 36 ) . substring ( 2 , 9 ) } ` ;
35- this . _scoutFieldId . emit ( this . ariaId ) ;
36- }
37-
3833 render ( ) {
3934 return (
4035 < div class = "select-wrapper" >
Original file line number Diff line number Diff line change 1616
1717## Events
1818
19- | Event | Description | Type |
20- | ----------------- | ----------------------------------------------- | --------------------------------------------------------------- |
21- | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
22- | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
23- | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
24- | ` scoutBlur ` | | ` CustomEvent<void> ` |
25- | ` scoutChecked ` | | ` CustomEvent<{ checked: boolean; element: HTMLInputElement; }> ` |
19+ | Event | Description | Type |
20+ | ------------------ | ----------------------------------------------- | --------------------------------------------------------------- |
21+ | ` _scoutFieldId ` | Internal event used for form field association. | ` CustomEvent<string> ` |
22+ | ` _scoutInvalid ` | Internal event used for form field validation. | ` CustomEvent<void> ` |
23+ | ` _scoutValidate ` | Internal event used for form field validation. | ` CustomEvent<{ element: HTMLElement; }> ` |
24+ | ` scoutBlur ` | | ` CustomEvent<void> ` |
25+ | ` scoutChecked ` | | ` CustomEvent<{ checked: boolean; element: HTMLInputElement; }> ` |
2626| ` scoutInputChange ` | | ` CustomEvent<{ value: string; element: HTMLElement; }> ` |
2727
2828
You can’t perform that action at this time.
0 commit comments