function set( bool ) {
	/* eslint-disable no-invalid-this */
	if ( !isBoolean( bool ) ) {
		throw new TypeError( format( 'invalid assignment. `%s` must be a boolean. Value: `%s`.', 'autoRender', bool ) );
	}
	if ( bool !== this._autoRender ) {
		debug( 'Current value: %s.', this._autoRender );

		this._autoRender = bool;
		debug( 'New Value: %s.', this._autoRender );

		this.emit( 'change' );
	}
}
Sets the rendering mode.

@private
@param {boolean} bool - boolean indicating whether to re-render on a change event
@throws {TypeError} must be a boolean