code: function remove(el) {
              while (el._events.length > 0) {
                  el._events.shift().remove();
              }
  
              if (el.children) {
                  destroy(el.children);
              }
              if (el.elGroup !== undefined) {
                  el.elGroup.delete(el.el);
              }
  
              if (el.el !== undefined) {
                  if (el.el.remove) {
                      el.el.remove();
                  } else if (el.el.parentNode) {
                      el.el.parentNode.removeChild(el.el);
                  }
                  delete el.el;
              }
          }
docs: Remove Dom Element from Dom  @method remove @param {dom.Element}