historyUpdate() {
		let $content = this.$content;

		if (!this.history) {
			return;
		}

		if (this.historyUpdateTimer) {
			clearTimeout(this.historyUpdateTimer);
			this.historyUpdateTimer = null;
		}

		this.historyUpdateTimer = setTimeout(() => {
			let scroll = $content.scrollTop() / $content[0].scrollHeight;

			Object.assign(this.history, {
				scroll,
				progress: (this.page == this.pages) ? '100' : Math.round(scroll * 100).toString(),
				date: new Date(),
				parent_id: this.context.parent,
				page: this.page,
				pages: this.pages,
			});

			this.setHistory();
		}, 300);
	}
/**
	 * async historyUpdate - description
	 *
	 * @return {type}  description
	 */
async historyUpdate - description
@return {type}  description
async historyUpdate - description @return { type } description
historyUpdate() {
		let $content = this.$content;
		if (!this.history) {
			return;
		}
		if (this.historyUpdateTimer) {
			clearTimeout(this.historyUpdateTimer);
			this.historyUpdateTimer = null;
		}
		this.historyUpdateTimer = setTimeout(() => {
			let scroll = $content.scrollTop() / $content[0].scrollHeight;
			Object.assign(this.history, {
				scroll,
				progress: (this.page == this.pages) ? '100' : Math.round(scroll * 100).toString(),
				date: new Date(),
				parent_id: this.context.parent,
				page: this.page,
				pages: this.pages,
			});
			this.setHistory();
		}, 300);
	}
historyUpdate ( ) { let $content = this . $content ; if ( ! this . history ) { return ; } if ( this . historyUpdateTimer ) { clearTimeout ( this . historyUpdateTimer ) ; this . historyUpdateTimer = null ; } this . historyUpdateTimer = setTimeout ( ( ) => { let scroll = $content . scrollTop ( ) / $content [ 0 ] . scrollHeight ; Object . assign ( this . history , { scroll , progress : ( this . page == this . pages ) ? '100' : Math . round ( scroll * 100 ) . toString ( ) , date : new Date ( ) , parent_id : this . context . parent , page : this . page , pages : this . pages , } ) ; this . setHistory ( ) ; } , 300 ) ; }
async historyUpdate - description
 @return {type}  description
async historyUpdate - description @return { type } description