Skip to content

Commit b081ca4

Browse files
dotNetkowbrandyscarney
authored andcommitted
docs(modal): update Angular usage code (ionic-team#17978)
closes ionic-team/ionic-docs#620
1 parent 77c980b commit b081ca4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/components/modal/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ A Modal is a dialog that appears on top of the app's content, and must be dismis
88
Modals can be created using a [Modal Controller](../modal-controller). They can be customized by passing modal options in the modal controller's create method.
99

1010

11-
### Passing paramaters
11+
### Passing parameters
1212

13-
When a modal is created, paramaters might be passed to the newly created modal:
13+
When a modal is created, parameters might be passed to the newly created modal:
1414

1515
```ts
1616
// Create a modal using MyModalComponent with some initial data
@@ -83,7 +83,7 @@ export class ModalExample {
8383
```
8484

8585
```typescript
86-
import { Component } from '@angular/core';
86+
import { Component, Input } from '@angular/core';
8787
import { NavParams } from '@ionic/angular';
8888

8989
@Component({

core/src/components/modal/usage/angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ModalExample {
2121
```
2222

2323
```typescript
24-
import { Component } from '@angular/core';
24+
import { Component, Input } from '@angular/core';
2525
import { NavParams } from '@ionic/angular';
2626

2727
@Component({

0 commit comments

Comments
 (0)