chore(input): build output (#25933)

This commit is contained in:
Sean Perkins
2022-09-13 15:16:20 -04:00
committed by GitHub
parent 4eea9fa5c0
commit c76de0cc37
2 changed files with 19 additions and 4 deletions

View File

@ -814,14 +814,29 @@ export class IonInfiniteScrollContent {
} }
} }
import type { InputInputEventDetail as IInputInputInputEventDetail } from '@ionic/core';
import type { InputChangeEventDetail as IInputInputChangeEventDetail } from '@ionic/core'; import type { InputChangeEventDetail as IInputInputChangeEventDetail } from '@ionic/core';
export declare interface IonInput extends Components.IonInput { export declare interface IonInput extends Components.IonInput {
/** /**
* Emitted when a keyboard input occurred. * The `ionInput` event fires when the `value` of an `<ion-input>` element
has been changed.
For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event).
*/ */
ionInput: EventEmitter<CustomEvent<InputEvent>>; ionInput: EventEmitter<CustomEvent<IInputInputInputEventDetail>>;
/** /**
* Emitted when the value has changed. * The `ionChange` event is fired for `<ion-input>` elements when the user
modifies the element's value. Unlike the `ionInput` event, the `ionChange`
event is not necessarily fired for each alteration to an element's value.
Depending on the way the users interacts with the element, the `ionChange`
event fires at a different moment:
- When the user commits the change explicitly (e.g. by selecting a date
from a date picker for `<ion-input type="date">`, etc.).
- When the element loses focus after its value has changed: for elements
where the user's interaction is typing.
*/ */
ionChange: EventEmitter<CustomEvent<IInputInputChangeEventDetail>>; ionChange: EventEmitter<CustomEvent<IInputInputChangeEventDetail>>;
/** /**

View File

@ -550,7 +550,7 @@ ion-input,method,setFocus,setFocus() => Promise<void>
ion-input,event,ionBlur,FocusEvent,true ion-input,event,ionBlur,FocusEvent,true
ion-input,event,ionChange,InputChangeEventDetail,true ion-input,event,ionChange,InputChangeEventDetail,true
ion-input,event,ionFocus,FocusEvent,true ion-input,event,ionFocus,FocusEvent,true
ion-input,event,ionInput,InputEvent,true ion-input,event,ionInput,Event | InputEvent,true
ion-input,css-prop,--background ion-input,css-prop,--background
ion-input,css-prop,--color ion-input,css-prop,--color
ion-input,css-prop,--padding-bottom ion-input,css-prop,--padding-bottom