Lines Matching defs:region
7 * Returns a region object for the node
8 * @config region
12 Y.Node.ATTRS.region = {
15 region;
23 region = Y.DOM.viewportRegion(node);
25 region = Y.DOM.region(node);
27 return region;
32 * Returns a region object for the node's viewport
46 * Compares the intersection of the node with another node or region
49 * @param {Node|Object} node2 The node or region to compare with.
50 * @param {Object} altRegion An alternate region to use (rather than this node's).
55 if (Y.instanceOf(node2, Y.Node)) { // might be a region object
62 * Determines whether or not the node is within the giving region.
64 * @param {Node|Object} node2 The node or region to compare with.
65 * @param {Boolean} all Whether or not all of the node must be in the region.
66 * @param {Object} altRegion An alternate region to use (rather than this node's).
71 if (Y.instanceOf(node2, Y.Node)) { // might be a region object