docs: function (evt) {
              var position = evt.position;
              if (position) {
                  // state is named after the position, except for topRight where it is named normal
                  var state = position.reference.replace(" right", "Right").replace(" left", "Left");
                  if (state === 'topRight') {
                      state = 'normal';
                  }
                  var div = this._div, frame = div._frame;
  
                  // Make sure that the div is initialised (only once),
                  // as _onTooltipPositioned can be called several times for the same popup
                  div.getDom();
                  // this is backward compatibility for skin without errortooltip position states
                  if (frame.checkState(state)) {
                      frame.changeState(state);
                  }
              }
          }