开发者

How to know which of the resize handles is used.?

Before resizing (on the start even开发者_如何学Ct), need to know which of the resize handles is used. How to know it?


Without seeing any code, it's difficult to know the context of the question, but the key is to look for a defining attribute of the element in question.

For example:

  • Look at the ID of the handle that is used. $('.handle').attr('id');
  • Look for any defining attributes in the classnames. $('.handle').attr('class');.

For the second option, you could then split() on the classnames to examine what other values are available.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜