js/reveal.js
/**
	 * Navigate to the next slide fragment.
	 * 
	 * @return {Boolean} true if there was a next fragment,
	 * false otherwise
	 */
Navigate to the next slide fragment.

@return {Boolean} true if there was a next fragment,
false otherwise
Navigate to the next slide fragment . @return { Boolean } true if there was a next fragment false otherwise
function nextFragment() {
		if( document.querySelector( VERTICAL_SLIDES_SELECTOR + '.present' ) ) {
			var verticalFragments = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR + '.present .fragment:not(.visible)' );
			if( verticalFragments.length ) {
				verticalFragments[0].classList.add( 'visible' );
				dispatchEvent( 'fragmentshown', { fragment: verticalFragments[0] } );
				return true;
			}
		}
		else {
			var horizontalFragments = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR + '.present .fragment:not(.visible)' );
			if( horizontalFragments.length ) {
				horizontalFragments[0].classList.add( 'visible' );
				dispatchEvent( 'fragmentshown', { fragment: horizontalFragments[0] } );
				return true;
			}
		}
		return false;
	}
function nextFragment ( ) { if ( document . querySelector ( VERTICAL_SLIDES_SELECTOR + '.present' ) ) { var verticalFragments = document . querySelectorAll ( VERTICAL_SLIDES_SELECTOR + '.present .fragment:not(.visible)' ) ; if ( verticalFragments . length ) { verticalFragments [ 0 ] . classList . add ( 'visible' ) ; dispatchEvent ( 'fragmentshown' , { fragment : verticalFragments [ 0 ] } ) ; return true ; } } else { var horizontalFragments = document . querySelectorAll ( HORIZONTAL_SLIDES_SELECTOR + '.present .fragment:not(.visible)' ) ; if ( horizontalFragments . length ) { horizontalFragments [ 0 ] . classList . add ( 'visible' ) ; dispatchEvent ( 'fragmentshown' , { fragment : horizontalFragments [ 0 ] } ) ; return true ; } } return false ; }
Navigate to the next slide fragment.
Navigate to the next slide fragment .
// Vertical slides: // Notify subscribers of the change // Horizontal slides: // Notify subscribers of the change