Skip to content

Commit

Permalink
📝 docs: Update upgrade guide (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Feb 28, 2023
1 parent 34c9190 commit 34fd1ab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ v1.0.x contains non backwards compatible breaking changes, the following changes
- <MErrorHandler ShowAlert="false"></MErrorHandler>
+ <MErrorHandler PopupType="ErrorPopupType.None"></MErrorHandler>
```
- Removed the **PToasts** component, and use the **PEnqueuedSnackbars** component instead.
- **PopupService** removes `AlertAsync``ToastAsync`, and use `EnqueueSnackbarAsync` instead.
```diff
- PopupService.AlertAsync()
- PopupService.ToastAsync()
+ PopupService.EnqueueSnackbarAsync()
```

## Upgrading from v0.5.x to v0.6.x

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ v1.0.x 包含了不兼容的破坏性更改,包括以下变更:
- <MErrorHandler ShowAlert="false"></MErrorHandler>
+ <MErrorHandler PopupType="ErrorPopupType.None"></MErrorHandler>
```
- 移除了 **PToasts** 组件,请使用 **PEnqueuedSnackbars** 组件代替。
- **PopupService** 移除了 `AlertAsync``ToastAsync`,请使用 `EnqueueSnackbarAsync` 代替。
```diff
- PopupService.AlertAsync()
- PopupService.ToastAsync()
+ PopupService.EnqueueSnackbarAsync()
```

## 从 v0.5.x 升级到 v0.6.x

Expand Down

0 comments on commit 34fd1ab

Please sign in to comment.