docs(): fix occurred typo (#19916)

* docs(searchbar): typo ocurred / occurred

* docs(textarea): occurred typo

* docs(input): occurred typo

* docs(regenerate): occurred typo fix
This commit is contained in:
Matthew Harris
2019-11-18 14:20:21 +00:00
committed by Liam DeBeasi
parent fc4bb2db5c
commit 9e9f72a87f
7 changed files with 14 additions and 14 deletions

View File

@ -4440,7 +4440,7 @@ declare namespace LocalJSX {
*/ */
'onIonFocus'?: (event: CustomEvent<void>) => void; 'onIonFocus'?: (event: CustomEvent<void>) => void;
/** /**
* Emitted when a keyboard input ocurred. * Emitted when a keyboard input occurred.
*/ */
'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void; 'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void;
/** /**
@ -5414,7 +5414,7 @@ declare namespace LocalJSX {
*/ */
'onIonFocus'?: (event: CustomEvent<void>) => void; 'onIonFocus'?: (event: CustomEvent<void>) => void;
/** /**
* Emitted when a keyboard input ocurred. * Emitted when a keyboard input occurred.
*/ */
'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void; 'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void;
/** /**
@ -5869,7 +5869,7 @@ declare namespace LocalJSX {
*/ */
'onIonFocus'?: (event: CustomEvent<void>) => void; 'onIonFocus'?: (event: CustomEvent<void>) => void;
/** /**
* Emitted when a keyboard input ocurred. * Emitted when a keyboard input occurred.
*/ */
'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void; 'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void;
/** /**

View File

@ -181,7 +181,7 @@ export class Input implements ComponentInterface {
} }
/** /**
* Emitted when a keyboard input ocurred. * Emitted when a keyboard input occurred.
*/ */
@Event() ionInput!: EventEmitter<KeyboardEvent>; @Event() ionInput!: EventEmitter<KeyboardEvent>;

View File

@ -244,11 +244,11 @@ export const InputExample: React.FC = () => (
## Events ## Events
| Event | Description | Type | | Event | Description | Type |
| ----------- | -------------------------------------- | ------------------------------------- | | ----------- | --------------------------------------- | ------------------------------------- |
| `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` | | `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` |
| `ionChange` | Emitted when the value has changed. | `CustomEvent<InputChangeEventDetail>` | | `ionChange` | Emitted when the value has changed. | `CustomEvent<InputChangeEventDetail>` |
| `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` | | `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` |
| `ionInput` | Emitted when a keyboard input ocurred. | `CustomEvent<KeyboardEvent>` | | `ionInput` | Emitted when a keyboard input occurred. | `CustomEvent<KeyboardEvent>` |
## Methods ## Methods

View File

@ -249,7 +249,7 @@ export const SearchbarExample: React.FC = () => (
| `ionChange` | Emitted when the value has changed. | `CustomEvent<SearchbarChangeEventDetail>` | | `ionChange` | Emitted when the value has changed. | `CustomEvent<SearchbarChangeEventDetail>` |
| `ionClear` | Emitted when the clear input button is clicked. | `CustomEvent<void>` | | `ionClear` | Emitted when the clear input button is clicked. | `CustomEvent<void>` |
| `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` | | `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` |
| `ionInput` | Emitted when a keyboard input ocurred. | `CustomEvent<KeyboardEvent>` | | `ionInput` | Emitted when a keyboard input occurred. | `CustomEvent<KeyboardEvent>` |
## Methods ## Methods

View File

@ -129,7 +129,7 @@ export class Searchbar implements ComponentInterface {
@Prop({ mutable: true }) value?: string | null = ''; @Prop({ mutable: true }) value?: string | null = '';
/** /**
* Emitted when a keyboard input ocurred. * Emitted when a keyboard input occurred.
*/ */
@Event() ionInput!: EventEmitter<KeyboardEvent>; @Event() ionInput!: EventEmitter<KeyboardEvent>;

View File

@ -219,7 +219,7 @@ export const TextAreaExample: React.FC = () => (
| `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` | | `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` |
| `ionChange` | Emitted when the input value has changed. | `CustomEvent<TextareaChangeEventDetail>` | | `ionChange` | Emitted when the input value has changed. | `CustomEvent<TextareaChangeEventDetail>` |
| `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` | | `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` |
| `ionInput` | Emitted when a keyboard input ocurred. | `CustomEvent<KeyboardEvent>` | | `ionInput` | Emitted when a keyboard input occurred. | `CustomEvent<KeyboardEvent>` |
## Methods ## Methods

View File

@ -149,7 +149,7 @@ export class Textarea implements ComponentInterface {
@Event() ionChange!: EventEmitter<TextareaChangeEventDetail>; @Event() ionChange!: EventEmitter<TextareaChangeEventDetail>;
/** /**
* Emitted when a keyboard input ocurred. * Emitted when a keyboard input occurred.
*/ */
@Event() ionInput!: EventEmitter<KeyboardEvent>; @Event() ionInput!: EventEmitter<KeyboardEvent>;