src/speech.js
/**
	 * Go to previous chunk and play.
	 */
Go to previous chunk and play.
Go to previous chunk and play .
previous() {
		const props = {
			chunkRangeOffset: 0,
		};
		if ( this.state.chunkRangeOffset < CHUNK_BEGINNING_OFFSET_THRESHOLD ) {
			props.chunkIndex = Math.max( this.state.chunkIndex - 1, 0 );
		}
		this.setState( props );
	}
previous ( ) { const props = { chunkRangeOffset : 0 , } ; if ( this . state . chunkRangeOffset < CHUNK_BEGINNING_OFFSET_THRESHOLD ) { props . chunkIndex = Math . max ( this . state . chunkIndex - 1 , 0 ) ; } this . setState ( props ) ; }
Go to previous chunk and play.
Go to previous chunk and play .
// Only move to previous chunk if already at beginning of this chunk.