Mootools Function: $A

方法: $ACreates a copy of an Array. Useful for applying the Array prototypes to iterable objects such as a DOM...


Mootools Array: rgbToHex

数组 Method: rgbToHexConverts an RGB color value to hexidecimal. Input array must be in one of the following RGB...


Mootools Array: flatten

数组 Method: flattenFlattens a multidimensional array into a single array.\\平一个多维数组成一个单一的数组。语法:myArray....


Mootools Array: empty

数组 Method: emptyEmpties an array.清空数组语法:myArray.empty();返回:• (array) This array, emptied.例子:var myArray...


Mootools Array: erase

数组 Method: eraseRemoves all occurrences of an item from the array.\\删除所有出现的某一项数组。语法:myArray.erase(item)...


Mootools Array: combine

数组 Method: combineCombines an array with all the items of another. Does not allow duplicates and is case and ...


Mootools Array: include

数组 Method: includePushes the passed element into the array if it's not already present (case and type sensi...


Mootools Array: getRandom

数组 Method: getRandomReturns a random item from the array.语法:myArray.getRandom();返回:• (mixed) A random item...


Mootools Array: getLast

数组 Method: getLastReturns the last item from the array.\\返回最后一项从数组。语法:myArray.getLast();参数:• (mixed)...