-
Notifications
You must be signed in to change notification settings - Fork 26.3k
refactor(devtools): introduce responsive-split directive #61204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
display: block; | ||
} | ||
|
||
:host { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that a lot of the CSS in this file is no longer used/relevant.
101bbc2
to
cd59391
Compare
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Show resolved
Hide resolved
e95eb14
to
98c821f
Compare
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
468f03d
to
8c4f148
Compare
@AleksanderBodurri, I went with the flat config structure. I've added a more descriptive TSDoc comments that should, hopefully, clarify which direction is activated by the ratio and under which conditions. |
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
8c4f148
to
fa85b1c
Compare
The `ResponsiveSplitDirective` adds responsive behavior to the `as-split` component by a provided width to height ratio.
fa85b1c
to
2761487
Compare
Run window:resize outside of Angular.
2761487
to
9f42d58
Compare
Tests are now passing successfully. |
This PR was merged into the repository by commit f5c67f1. The changes were merged into the following branches: main |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the new behavior?
The
ResponsiveSplitDirective
adds responsive behavior to theas-split
component by a provided width to height ratio. It's now employed by the Injector Tree tab.Needed for #60478 as well.
cc @dgp1130
Does this PR introduce a breaking change?