You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update Angular integration examples for modern APIs (#2781)
* docs: uptade Angular example to use modern angular features, like input and viewChild signals
* docs: update Angular documentation to instruct how to use in version prior to 17.1
* docs(angular): correct signal-API version requirements
viewChild() landed in 17.2 (not 17.1) and is stable only from Angular 19;
input() is 17.1+ and stable from 19. Verified via tsc against
@angular/core@17.1.0: 'has no exported member named viewChild'.
Also aligns onReady log string with React/Vue docs.
---------
Co-authored-by: Caio Pizzol <caio@harbourshare.com>
Co-authored-by: Caio Pizzol <97641911+caio-pizzol@users.noreply.github.com>
SuperDoc works with Angular through direct DOM manipulation. No wrapper needed.
8
8
9
+
Requires Angular 17.2+. `viewChild()` and `input()` are stable from Angular 19; developer preview before that. On older versions, use `@ViewChild`, `@Input`, and `ngOnDestroy` in place of `inject(DestroyRef)`.
0 commit comments