Skip to content
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

Adding Resizelistener such that the element inside to be responsive #319

Open
Dbibek opened this issue Apr 12, 2022 · 1 comment
Open

Adding Resizelistener such that the element inside to be responsive #319

Dbibek opened this issue Apr 12, 2022 · 1 comment
Labels
enhancement waiting-for-reply Waiting for reply or confirmation of user creating the issue.

Comments

@Dbibek
Copy link

Dbibek commented Apr 12, 2022

Hey,
How about the resize listener such that the element inside the splitter area would be responsive when it hits the breakpoint.

this.splitEl.dragProgress$.subscribe(x => {
y = this.ngZone.run(() => (this.x = x));
console.log(y.sizes);
});
clearly, the darg can be monitored but I am not able to hit compare the sizes with the breakpoint to make the elements inside the split view responsive. is there a simple way to do it?

@Harpush
Copy link
Collaborator

Harpush commented Aug 27, 2023

I think ResizeObserver can answer this

@Harpush Harpush added the waiting-for-reply Waiting for reply or confirmation of user creating the issue. label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement waiting-for-reply Waiting for reply or confirmation of user creating the issue.
Projects
None yet
Development

No branches or pull requests

2 participants