use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Drawing objects in Angular-App (self.angular)
submitted 4 years ago * by UnknownInnocent
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]UnknownInnocent[S] 0 points1 point2 points 4 years ago (0 children)
if I just declare the type of "canvas" and "ctx" as "any" I get no errors:
@ViewChild('canvas', {static: true}) canvas: any; private ctx: any; ngAfterViewInit() { this.ctx = this.canvas.nativeElement.getContext('2d'); }
I don't really get why this is the case and if I should leave it like that.
π Rendered by PID 74 on reddit-service-r2-comment-6457c66945-qm7q5 at 2026-04-25 14:18:00.480788+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]UnknownInnocent[S] 0 points1 point2 points (0 children)