Skip to content

Commit

Permalink
docs(): fix occurred typo (ionic-team#19916)
Browse files Browse the repository at this point in the history
* docs(searchbar): typo ocurred / occurred

* docs(textarea): occurred typo

* docs(input): occurred typo

* docs(regenerate): occurred typo fix
  • Loading branch information
rtpHarry authored and liamdebeasi committed Nov 18, 2019
1 parent fc4bb2d commit 9e9f72a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4440,7 +4440,7 @@ declare namespace LocalJSX {
*/
'onIonFocus'?: (event: CustomEvent<void>) => void;
/**
* Emitted when a keyboard input ocurred.
* Emitted when a keyboard input occurred.
*/
'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void;
/**
Expand Down Expand Up @@ -5414,7 +5414,7 @@ declare namespace LocalJSX {
*/
'onIonFocus'?: (event: CustomEvent<void>) => void;
/**
* Emitted when a keyboard input ocurred.
* Emitted when a keyboard input occurred.
*/
'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void;
/**
Expand Down Expand Up @@ -5869,7 +5869,7 @@ declare namespace LocalJSX {
*/
'onIonFocus'?: (event: CustomEvent<void>) => void;
/**
* Emitted when a keyboard input ocurred.
* Emitted when a keyboard input occurred.
*/
'onIonInput'?: (event: CustomEvent<KeyboardEvent>) => void;
/**
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/input/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>;

Expand Down
12 changes: 6 additions & 6 deletions core/src/components/input/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ export const InputExample: React.FC = () => (

## Events

| Event | Description | Type |
| ----------- | -------------------------------------- | ------------------------------------- |
| `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` |
| `ionChange` | Emitted when the value has changed. | `CustomEvent<InputChangeEventDetail>` |
| `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` |
| `ionInput` | Emitted when a keyboard input ocurred. | `CustomEvent<KeyboardEvent>` |
| Event | Description | Type |
| ----------- | --------------------------------------- | ------------------------------------- |
| `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` |
| `ionChange` | Emitted when the value has changed. | `CustomEvent<InputChangeEventDetail>` |
| `ionFocus` | Emitted when the input has focus. | `CustomEvent<void>` |
| `ionInput` | Emitted when a keyboard input occurred. | `CustomEvent<KeyboardEvent>` |


## Methods
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/searchbar/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const SearchbarExample: React.FC = () => (
| `ionChange` | Emitted when the value has changed. | `CustomEvent<SearchbarChangeEventDetail>` |
| `ionClear` | Emitted when the clear input button is clicked. | `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
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/searchbar/searchbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class Searchbar implements ComponentInterface {
@Prop({ mutable: true }) value?: string | null = '';

/**
* Emitted when a keyboard input ocurred.
* Emitted when a keyboard input occurred.
*/
@Event() ionInput!: EventEmitter<KeyboardEvent>;

Expand Down
2 changes: 1 addition & 1 deletion core/src/components/textarea/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export const TextAreaExample: React.FC = () => (
| `ionBlur` | Emitted when the input loses focus. | `CustomEvent<void>` |
| `ionChange` | Emitted when the input value has changed. | `CustomEvent<TextareaChangeEventDetail>` |
| `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
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/textarea/textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class Textarea implements ComponentInterface {
@Event() ionChange!: EventEmitter<TextareaChangeEventDetail>;

/**
* Emitted when a keyboard input ocurred.
* Emitted when a keyboard input occurred.
*/
@Event() ionInput!: EventEmitter<KeyboardEvent>;

Expand Down

0 comments on commit 9e9f72a

Please sign in to comment.