Description

Find a child by name. Returns an array of element found

Usage

Parameters

  • name {String}

    Element name

Returns

Array

Example

In method ready

var el1 = this.createElement("el1"),
    el2 = this.createElement("el2"),
    el3 = this.createElement("el3");

stage.append(el1, el2, el3);

stage.find('el1'); // returns el1 element

Discussion