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

New event rzBeforeStart is required #255

Open
begemott opened this issue Jun 24, 2023 · 0 comments
Open

New event rzBeforeStart is required #255

begemott opened this issue Jun 24, 2023 · 0 comments

Comments

@begemott
Copy link

Hi @xieziyu

I neen a new event rzBeforeStart. The event should occur at the very begining of resize process.
I try to customize Angular Material dialog to make it resizable. Since the dialod is not positioned absolutly, I try to do the following: on resize start I set the dialog position to absolute and change top and left properties of the dialog. But at this moment the resize directive has already saved the element's position to properties _currPos and _origPos which doesn't allow the directive resize the element correctly. It looks like a new event rzBeforeStart can solve the problem and can be usefull in other cases when you need to change the element being resized before resizing.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant