Tuesday, September 10, 2013

Hiding the resize handles in YUI library not working

Hiding the resize handles in YUI library not working

I am using Drag and Resize component from YUI libray for my web project
and integrated it and both Drag and resize is working fine. But I want to
hide the handles displayed when resizing the content. I had go through
several examples but can't get the solution. Here is my code
Y.use('resize', function(Y) {
var resizeNode = new Y.Resize({
node : '#myNode',
hiddenHandles: true
});
)};
I Have tried the hover: true and is working fine. But i want to hide the
handles forever. What actually wrong here?

No comments:

Post a Comment