mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
docs(breaking): update the usage headings for overlays
This commit is contained in:
@ -789,7 +789,7 @@ The class has been renamed from `Option` to `SelectOption` to keep it consistent
|
|||||||
|
|
||||||
Action Sheet, Alert, Loading, Modal, Popover, and Toast should now use `async`/`await`:
|
Action Sheet, Alert, Loading, Modal, Popover, and Toast should now use `async`/`await`:
|
||||||
|
|
||||||
**New Usage Example:**
|
**Old Usage Example:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
presentPopover(ev: any) {
|
presentPopover(ev: any) {
|
||||||
@ -802,7 +802,7 @@ presentPopover(ev: any) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
**Old Usage Example:**
|
**New Usage Example:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
async presentPopover(ev: any) {
|
async presentPopover(ev: any) {
|
||||||
|
Reference in New Issue
Block a user