docs: function(item) {
              if((item.label || item.labelTemplate) && item.labelElement) {
                  item.label ? item.labelElement.html(item.label) : item.labelElement.html(loadHTMLFromFile(item.labelTemplate));
                  item.labelElement.append(item.pictoElement);
              }
              if(this.settings.labelClass && item.labelElement) {
                  item.labelElement.addClass(this.settings.labelClass);
              }
              if(item.picto || item.pictoTemplate) {
                  item.picto ? item.pictoElement.html(item.picto) : item.pictoElement.html(loadHTMLFromFile(item.pictoTemplate));
              }
  
              if((item.shortContent || item.shortContentTemplate) && item.shortContentElement) {
                  item.shortContent ? item.shortContentElement.html(item.shortContent) : item.shortContentElement.html(loadHTMLFromFile(item.shortContentTemplate));
                  /*
                  // Two solutions to get element's height:
                  resolveElementHeight(item.shortContentElement).then(function(data) {
                      console.log('resolved');
                      console.log(data);
                  });
                  eventElementHeight(item.shortContentElement, {eventName: 'timelineMe.heightChanged'});
                  */
  
                  if(item.type == 'bigItem') {
                      // Use height watcher:
                      heightWatcher(item.shortContentElement, function(data) {
                          if(data && data.element) {
                              var container = data.element.closest('.timeline-me-content-container');
                              if(!data.oldVal && data.newVal && !data.element.hasClass('timeline-me-displayfull'))
                                  container.height(data.newVal);
                          }
                      });
                      heightWatcher(item.fullContentElement, function(data) {
                          if(data && data.element) {
                              var container = data.element.closest('.timeline-me-content-container');
                              if(data.newVal && !data.oldVal && data.element.hasClass('timeline-me-displayfull'))
                                  container.height(data.newVal);
                          }
                      });
                  }
              }
              if(this.settings.shortContentClass && item.shortContentElement) {
                  item.shortContentElement.addClass(this.settings.shortContentClass);
              }
  
              if((item.fullContent || item.fullContentTemplate) && item.fullContentElement) {
                  item.fullContent ? item.fullContentElement.html(item.fullContent) : item.fullContentElement.html(loadHTMLFromFile(item.fullContentTemplate));
              }
              if(this.settings.fullContentClass && item.fullContentElement) {
                  item.fullContentElement.addClass(this.settings.fullContentClass);
              }
  
              if((item.showMore || item.showMoreTemplate) && item.showMoreElement) {
                  item.showMore ? item.showMoreElement.html(item.showMore) : item.showMoreElement.html(loadHTMLFromFile(item.showMoreTemplate));
                  if(item.shortContentElement)
                      item.shortContentElement.append(item.showMoreElement);
                  if(item.type == 'smallItem') {
                      item.showMoreElement.on('click', function() {
                          item.element.toggleClass('timeline-me-displayfull');
                          item.element.trigger('timelineMe.smallItem.displayfull');
                      });
                  } else if(item.type == 'bigItem') {
                      item.showMoreElement.on('click', function() {
                          item.element.toggleClass('timeline-me-flipped');
                          item.element.trigger('timelineMe.bigItem.flipped');
                      });
                  }
              }
              if(this.settings.showMoreClass && item.showMoreElement) {
                  item.showMoreElement.addClass(this.settings.showMoreClass);
              }
  
              if((item.showLess || item.showLessTemplate) && item.showLessElement) {
                  item.showLess ? item.showLessElement.html(item.showLess) : item.showLessElement.html(loadHTMLFromFile(item.showLessTemplate));
                  if(item.fullContentElement)
                      item.fullContentElement.append(item.showLessElement);
                  if(item.type == 'smallItem') {
                      item.showLessElement.on('click', function() {
                          item.element.toggleClass('timeline-me-displayfull');
                          item.element.trigger('timelineMe.smallItem.displayfull');
                      });
                  } else if(item.type == 'bigItem') {
                      item.showLessElement.on('click', function() {
                          item.element.toggleClass('timeline-me-flipped');
                          item.element.trigger('timelineMe.bigItem.flipped');
                      });
                  }
              }
              if(this.settings.showLessClass && item.showLessElement) {
                  item.showLessElement.addClass(this.settings.showLessClass);
              }
  
              // if the timeline is in horizontal mode, we create a cloned version of the contentWrapper element, that will be hidden,
              // in order to place it correctly above/below the timeline (will simulate a margin-bottom/margin-top equals to the height of the contentWrapper)
              if(item.type == 'smallItem' && this.settings.orientation == 'horizontal') {
                  if(item.contentWrapperClone)
                      delete item.contentWrapperClone;
  
                  var contentWrapperClone = item.contentWrapperElement.clone();
                  if(item.position == 'top')
                      item.contentWrapperElement.after(contentWrapperClone);
                  if(item.position == 'bottom')
                      item.contentWrapperElement.before(contentWrapperClone);
                  contentWrapperClone.addClass('timeline-me-hidden');
                  item.contentWrapperClone = contentWrapperClone;
              }
          }