Opened 11 years ago
Closed 11 years ago
#7879 closed enhancement (wontfix)
Resizable should have a reset-method or the destroy-method should also reset the dimensions
Reported by: | acme | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.resizable | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Currently (at least from what I saw) it's not possible to set a Resizable back to it's intial state with the dimensions also reset.
The destroy-method claims "Remove the resizable functionality completely. This will return the element back to its pre-init state." But actually that's not 100% true, the Resizable is not fully set back to its pre-init state as the dimensions are not reset. But I guess this defintion is depending on what one understands as pre-init state.
Maybe there should be a separate 'reset' method instead that can be used to programmatically reset the element to it's original pre-init dimensions.
This seems like an uncommon use case and is very easy to do yourself.