code: function getIndex(item) {
              return isNumber(item) ? within(item, 0, items.length - 1) : item === undefined ? -1 : $items.index(item);
          }
docs: Get the index of an item in SLIDEE.
  
  @param {Mixed} item Item DOM element, or index starting at 0.
  
  @return {Int}