Opened 10 years ago

Last modified 6 years ago

#5426 open feature

Resizable: Expose an API for programatically triggering a resize

Reported by: dalelarsen Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.8
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Scott González)

It would be nice to be able to tell the resizable plugin to resize an element to a specific size. This would take into account any other settings, such as aspect ratio, max height/width, also resize, etc. This should probably also trigger start, resize and stop events.

Change History (5)

comment:1 Changed 10 years ago by Scott González

Description: modified (diff)
Milestone: TBD1.next
Summary: Change event for resizable with width and height valuesResizable: Expose an API for programatically triggering a resize

comment:2 Changed 9 years ago by woodzu123

Any changes on that functionality?

It would be great to be able to trigger "Resize" after init.

for example:

$( ".component" ).resizable( "resizeTo", newWidth, newHeight );

Last edited 9 years ago by woodzu123 (previous) (diff)

comment:3 Changed 7 years ago by Scott González

Milestone: 1.next2.0.0

comment:4 Changed 7 years ago by tj.vantoll

Status: newopen

comment:5 Changed 6 years ago by tj.vantoll

#9416 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.