mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
Added description for pad len parameter
This commit is contained in:
+3
-3
@@ -38,9 +38,9 @@ Phaser.Utils = {
|
||||
* dir = 1 (left), 2 (right), 3 (both)
|
||||
* @method Phaser.Utils.pad
|
||||
* @param {string} str - The target string.
|
||||
* @param {number} len - Description.
|
||||
* @param {number} pad - the string to pad it out with (defaults to a space).
|
||||
* @param {number} [dir=3] the direction dir = 1 (left), 2 (right), 3 (both).
|
||||
* @param {number} len - The number of characters to be added.
|
||||
* @param {number} pad - The string to pad it out with (defaults to a space).
|
||||
* @param {number} [dir=3] The direction dir = 1 (left), 2 (right), 3 (both).
|
||||
* @return {string} The padded string
|
||||
*/
|
||||
pad: function (str, len, pad, dir) {
|
||||
|
||||
Reference in New Issue
Block a user