Description

Deletes a saved command element

Usage

Parameters

  • name {String}

    Name of the drawing method

Example

In ready method :

var el = this.createElement();
el.drawImage("foo");

el.removeCmd("drawImage");
stage.append(el); // Image "foo" is not displayed

Discussion