-
Notifications
You must be signed in to change notification settings - Fork 26.7k
Closed
Labels
freq1: lowstate: communitySomeone from the Angular community is working on this issue or submitted this PRSomeone from the Angular community is working on this issue or submitted this PRtype: bug/fix
Milestone
Description
📚 Docs or angular.io bug report
Description
The code snippet right at
https://angular.io/guide/route-animations#querying-the-view-containers
has problems with formatting (the topmost query()
should be aligned).
May confuse the reader as to what is nested into what...
However — this snippet is the continuation of the code from
https://angular.io/guide/route-animations#styling-the-host-and-child-components
and notice that the transition('HomePage <=> AboutPage'...
function call is torn between the two snippets, which makes it even less consistent and readable
May be more readable to reproduce the whole piece in the bottom snippet, that piece is long anyway. Or, title it as src/app/animations.ts (continued)
at least
🔬 Minimal Reproduction
What's the affected URL?**
https://angular.io/guide/route-animations#querying-the-view-containers
Reproduction Steps**
Expected vs Actual Behavior**
📷Screenshot
🔥 Exception or Error
🌍 Your Environment
Browser info
Anything else relevant?
kapunahelewong and sonukapoor
Metadata
Metadata
Assignees
Labels
freq1: lowstate: communitySomeone from the Angular community is working on this issue or submitted this PRSomeone from the Angular community is working on this issue or submitted this PRtype: bug/fix