Home

function: getChildByName


getChildByName(name: string): PIXI.DisplayObject

Returns the display object in the container

Params:

Name Type Attribute Description
name

instance name

Returns:

PIXI.DisplayObject

  {
    "comment": "/**\n * Returns the display object in the container\n *\n * @memberof PIXI.Container#\n * @param {string} name - instance name\n * @return {PIXI.DisplayObject} The child with the specified name.\n */",
    "meta": {
        "range": [
            371,
            628
        ],
        "filename": "getChildByName.js",
        "lineno": 18,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\extras",
        "code": {
            "id": "astnode100054608",
            "name": "core.Container.prototype.getChildByName",
            "type": "FunctionExpression",
            "value": "getChildByName",
            "paramnames": [
                "name"
            ]
        },
        "vars": {
            "i": "PIXI.Container#core.Container#getChildByName~i"
        }
    },
    "description": "

Returns the display object in the container

", "memberof": "PIXI.Container#core.Container", "params": [ { "type": { "names": [ "string" ] }, "description": "

instance name

", "name": "name" } ], "returns": [ { "type": { "names": [ "PIXI.DisplayObject" ] }, "description": "

The child with the specified name.

" } ], "name": "getChildByName", "longname": "PIXI.Container#core.Container#getChildByName", "kind": "function", "scope": "instance", "___id": "T000002R005168", "___s": true, "filepath": "extras\\getChildByName.js" }