docs: function (input) {
              var ellipsisContainer = input.previousSibling, elementoffsetWidth = ellipsisContainer.offsetWidth, frameWidth = this._frame.innerWidth;
              // 10 is to consider margin and padding
              if (elementoffsetWidth >= (frameWidth - 10)) {
                  ellipsisContainer.firstChild.className += " ellipsisClass";
                  var elementWidth = frameWidth - ellipsisContainer.offsetLeft
                          - (ellipsisContainer.firstChild.offsetLeft + ellipsisContainer.lastChild.offsetWidth) * 2;
                  ellipsisContainer.firstChild.style.maxWidth = elementWidth + "px";
              }
  
          }