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
Copy file name to clipboardExpand all lines: content/crutchcorn/collections/framework-field-guide-fundamentals/posts/ffg-fundamentals-element-reference/index.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -919,7 +919,7 @@ function App() {
919
919
920
920
## Angular
921
921
922
-
We can adopt the above code and place it within our `ngAfterViewInit` lifecycle method to add the `addEventListener` to our context menu.
922
+
Let's adopt the above click listener and apply it within `afterRenderEffect`.
923
923
924
924
Additionally, we'll use `ViewChild` to track the `contextMenu` element and `.focus` it when it becomes active.
0 commit comments