docs: function (cfg) {
  
              cfg = ariaWidgetsFramesFrameFactory.normalizeFrameCfg(cfg);
              var skinObject = cfg.skinObject;
  
              var icons = this.computeIcons(skinObject, cfg.hideIconNames);
  
              cfg.iconsLeft = icons.iconsLeft;
              cfg.iconsRight = icons.iconsRight;
              if (icons.hasIcons) {
                  return new aria.widgets.frames.FrameWithIcons(cfg);
              } else {
                  // do not use the icon frame if there is no icon (useless overhead)
                  return ariaWidgetsFramesFrameFactory.createFrame(cfg);
              }
          }