Skip to content

Commit 6438a64

Browse files
committed
docs(angular): update overview version support to Angular 18-21 for v9
1 parent 4923178 commit 6438a64

2 files changed

Lines changed: 1 addition & 18 deletions

File tree

docs/angular/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import DocsCards from '@components/global/DocsCards';
1818

1919
## Angular Version Support
2020

21-
Ionic Angular v8 supports Angular versions 16 and above. For detailed information on supported versions and our support policy, see the [Ionic Angular Support Policy](/docs/reference/support#ionic-angular).
21+
Ionic Angular v9 supports Angular versions 18 through 21. For detailed information on supported versions and our support policy, refer to the [Ionic Angular Support Policy](/docs/reference/support#ionic-angular).
2222

2323
## Angular Tooling
2424

docs/updating/9-0.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -79,23 +79,6 @@ Remove the `~` prefix from `@ionic/angular` CSS imports. Angular's current build
7979
+ @import '@ionic/angular/css/core.css';
8080
```
8181

82-
#### Event Types
83-
84-
The narrow `*CustomEvent` types (such as `RefresherCustomEvent`) are no longer surfaced through Angular template type inference. Use `CustomEvent<*EventDetail>` and cast `event.target` where you call methods on it:
85-
86-
```diff
87-
- import { RefresherCustomEvent } from '@ionic/angular';
88-
-
89-
- onRefresh(event: RefresherCustomEvent) {
90-
- event.target.complete();
91-
- }
92-
+ import type { RefresherEventDetail } from '@ionic/core';
93-
+
94-
+ onRefresh(event: CustomEvent<RefresherEventDetail>) {
95-
+ (event.target as HTMLIonRefresherElement | null)?.complete();
96-
+ }
97-
```
98-
9982
#### Module Resolution
10083

10184
If your app uses TypeScript `moduleResolution: "node"` (classic), imports from subpaths such as `@ionic/angular/standalone` can fail to resolve. Set `moduleResolution` to `"bundler"` in your `tsconfig.json`. Apps created with `ng new` on Angular 17 or later already use this.

0 commit comments

Comments
 (0)