docs: function(key, val) {
      var k, e = this._element;
      if (!e) return null;
      if (typeof e.style !== 'object') {
        console.error("[wdg.css] This element does not support styles!", e);
        e.style = {};
      }
      if (typeof key == 'string') {
        if (val) {
          e.style[key] = val;
          return this;
        }
        return e.style[key];
      }
      if (typeof key == 'object') {
        for (k in key) {
          try {
            e.style[k] = key[k];
          } catch (x) {
            console.error("[wdg.css] Bad CSS attribute " + k + ": " + key[k]);
          }
        }
      }
      return this;
    }