jQuery 可调整大小:让 ui-ressized-w 表现得像 ui-resizing-e
$('#foo').resizable({
resize:function(){}
});
问题
- 这将创建一个东/南手柄,如何创建东/西手柄?
- 通过将南类 (ui-ressized-s) 更改为西类 (ui-ressized-w)(当前调试解决方法),西边的行为与东边不同。拖动东边时,元素会展开。当向西拖动时,元素会展开,但也会应用左侧定位。
有什么想法吗?
$('#foo').resizable({
resize:function(){}
});
Question
- This creates a east/south handle, how do you create a east/west?
- By changing the south class (ui-resizable-s) to the west class (ui-resizable-w) -current debug workaround-, the west does not behave like the east. When the east is dragged, the element is expanded. When the west is dragged, the element is expanded but a left positioning is also applied.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自手册:
From the manual :