Lines Matching defs:children
627 tag: 'li', // assumes li children, override with tag: 'tagname'
787 var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only});
790 if(children) {
793 for (index = 0; index < children.length; index += 1) {
794 if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) {
795 offset -= Element.offsetSize (children[index], droponOptions.overlap);
796 } else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) {
797 child = index + 1 < children.length ? children[index + 1] : null;
800 child = children[index];
841 var children = Sortable.findElements(element, options) || [];
843 for (var i = 0; i < children.length; ++i) {
844 var match = children[i].id.match(options.format);
852 children: [],
853 position: parent.children.length,
854 container: $(children[i]).down(options.treeTag)
857 /* Get the element containing the children and recurse over it */
861 parent.children.push (child);
881 children: [],
934 return Sortable.tree(element, arguments[1]).children.map( function (item) {
936 encodeURIComponent(item.id)].concat(item.children.map(arguments.callee));