Skip to content

Commit 1cf303f

Browse files
chore(): add files after build
1 parent 76fa00d commit 1cf303f

File tree

5 files changed

+294
-164
lines changed

5 files changed

+294
-164
lines changed

core/api.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,6 +1944,7 @@ ion-toggle,prop,justify,"end" | "space-between" | "start" | undefined,undefined,
19441944
ion-toggle,prop,labelPlacement,"end" | "fixed" | "stacked" | "start",'start',false,false
19451945
ion-toggle,prop,mode,"ios" | "md",undefined,false,false
19461946
ion-toggle,prop,name,string,this.inputId,false,false
1947+
ion-toggle,prop,required,boolean,false,false,false
19471948
ion-toggle,prop,value,null | string | undefined,'on',false,false
19481949
ion-toggle,event,ionBlur,void,true
19491950
ion-toggle,event,ionChange,ToggleChangeEventDetail<any>,true

core/src/components.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3280,6 +3280,10 @@ export namespace Components {
32803280
* The name of the control, which is submitted with the form data.
32813281
*/
32823282
"name": string;
3283+
/**
3284+
* If `true`, the user must fill in a value before submitting a form.
3285+
*/
3286+
"required": boolean;
32833287
/**
32843288
* The value of the toggle does not mean if it's checked or not, use the `checked` property for that. The value of a toggle is analogous to the value of a `<input type="checkbox">`, it's only used when the toggle participates in a native `<form>`.
32853289
*/
@@ -8155,6 +8159,10 @@ declare namespace LocalJSX {
81558159
* Emitted when the toggle has focus.
81568160
*/
81578161
"onIonFocus"?: (event: IonToggleCustomEvent<void>) => void;
8162+
/**
8163+
* If `true`, the user must fill in a value before submitting a form.
8164+
*/
8165+
"required"?: boolean;
81588166
/**
81598167
* The value of the toggle does not mean if it's checked or not, use the `checked` property for that. The value of a toggle is analogous to the value of a `<input type="checkbox">`, it's only used when the toggle participates in a native `<form>`.
81608168
*/

0 commit comments

Comments
 (0)