dist/jquery.schedule.js
function (period) {
      var start = Math.round(period.position().top / this.periodPosition);
      var end = Math.round((period.height() + period.position().top) / this.periodPosition);

      return {
        start: this.periodFormat(start),
        end: this.periodFormat(end),
        title: $('.jqs-period-title', period).text(),
        backgroundColor: $('.jqs-period-container', period).css('background-color'),
        borderColor: $('.jqs-period-container', period).css('border-top-color'),
        textColor: $('.jqs-period-container', period).css('color')
      };
    }
function (period) {
      var start = Math.round(period.position().top / this.periodPosition);
      var end = Math.round((period.height() + period.position().top) / this.periodPosition);

      return {
        start: this.periodFormat(start),
        end: this.periodFormat(end),
        title: $('.jqs-period-title', period).text(),
        backgroundColor: $('.jqs-period-container', period).css('background-color'),
        borderColor: $('.jqs-period-container', period).css('border-top-color'),
        textColor: $('.jqs-period-container', period).css('color')
      };
    }
function ( period ) { var start = Math . round ( period . position ( ) . top / this . periodPosition ) ; var end = Math . round ( ( period . height ( ) + period . position ( ) . top ) / this . periodPosition ) ; return { start : this . periodFormat ( start ) , end : this . periodFormat ( end ) , title : $ ( '.jqs-period-title' , period ) . text ( ) , backgroundColor : $ ( '.jqs-period-container' , period ) . css ( 'background-color' ) , borderColor : $ ( '.jqs-period-container' , period ) . css ( 'border-top-color' ) , textColor : $ ( '.jqs-period-container' , period ) . css ( 'color' ) } ; }
Return an object with all period data
@param period
@returns {[*,*]}
Return an object with all period data