code: function addResizeListener(resizeListener) {
          if (a4p.isUndefinedOrNull(listenersIndex[resizeListener.id])) {
              listenersIndex[resizeListener.id] = resizeListener;
              rootListener.push(resizeListener);
              // Not perfect alternative key because duplicate key is possible and then old resize is hidden
              listenersIndex[resizeListener.name] = resizeListener;
              orderResizeListeners();
          }
      }
docs: Add a listener at highest priority level (do not depend on others)
  
  @param resizeListener