Lines Matching refs:wrapper

58 	WRAPPER = 'wrapper',
303 * The wrapper element type (default div) could be over-riden passing the
304 * <code>wrapper</code> attribute.
317 * Elements that requires a wrapper by default. Normally are elements
334 * @attribute wrapper
339 wrapper: {
450 * Template used to create the resize wrapper for the handles.
458 * Template used to create the resize wrapper node when needed.
510 * Stores the <a href="Resize.html#attr_wrapper">wrapper</a>
658 wrapper = instance.get(WRAPPER),
659 pNode = wrapper.get(PARENT_NODE);
662 Y.Event.purgeElement(wrapper, true);
674 instance._copyStyles(wrapper, node);
677 pNode.insertBefore(node, wrapper);
680 wrapper.remove(true);
764 wrapper = instance.get(WRAPPER);
766 wrapper.on('mouseenter', Y.bind(instance._onWrapperMouseEnter, instance));
767 wrapper.on('mouseleave', Y.bind(instance._onWrapperMouseLeave, instance));
768 wrapper.delegate('mouseenter', Y.bind(instance._onHandleMouseEnter, instance), DOT+CSS_RESIZE_HANDLE);
769 wrapper.delegate('mouseleave', Y.bind(instance._onHandleMouseLeave, instance), DOT+CSS_RESIZE_HANDLE);
852 * Responsible for loop each handle element and append to the wrapper.
859 wrapper = instance.get(WRAPPER),
866 wrapper.append(handlesWrapper);
940 * to the <a href="Resize.html#attr_wrapper">wrapper</a>.
944 * @param {Node} wrapper Node to.
947 _copyStyles: function(node, wrapper) {
952 // resizable wrapper should be positioned
966 wrapper.setStyles(wrapperStyle);
971 wrapper.sizeTo(
1082 wrapper = instance.get(WRAPPER),
1085 wrapper.sizeTo(info.offsetWidth, info.offsetHeight);
1088 wrapper.setXY([info.left, info.top]);
1092 if (!wrapper.compareTo(node)) {
1093 // the original internal node borders were copied to the wrapper on _copyStyles, to compensate that subtract the borders from the internal node
1148 wrapper = instance.get(WRAPPER),
1150 wrapperSurrounding = instance._getBoxSurroundingInfo(wrapper);
1235 wrapper = instance.get(WRAPPER);
1239 wrapper.addClass(CSS_RESIZE_HIDDEN_HANDLES);
1242 wrapper.removeClass(CSS_RESIZE_HIDDEN_HANDLES);
1260 // if nodeName is listed on WRAP_TYPES force use the wrapper
1306 // _syncUI of the wrapper, not using proxy
1421 wrapper = instance.get(WRAPPER);
1430 instance.originalInfo = instance._getInfo(wrapper, event);
1495 * Mouseenter event handler for the <a href="Resize.html#attr_wrapper">wrapper</a>.
1510 * Mouseleave event handler for the <a href="Resize.html#attr_wrapper">wrapper</a>.
1571 * Default value for the wrapper handles node attribute
1582 * Default value for the wrapper attribute
1592 // by deafult the wrapper is always the node
1593 wrapper = node;
1595 // if the node is listed on the wrapTypes or wrap is set to true, create another wrapper
1597 wrapper = Y.Node.create(instance.WRAP_TEMPLATE);
1600 pNode.insertBefore(wrapper, node);
1603 wrapper.append(node);
1605 instance._copyStyles(node, wrapper);
1615 return wrapper;