function handleViewportChange() {
  var width = _viewportEl[_propPrefix + 'Width'];
  var match = this.testBreakpoint( width );
  var breakpointState;

  if ( match !== this.match ) {
    breakpointState = getBreakpointState( width );
    if ( match && this.enter ) this.enter( breakpointState );
    else if ( this.leave ) this.leave( breakpointState );
  }

  this.match = match;
}
/**
 * Test the viewport size and set whether the test passes on the instance.
 */
Test the viewport size and set whether the test passes on the instance.
Test the viewport size and set whether the test passes on the instance .
function handleViewportChange() {
  var width = _viewportEl[_propPrefix + 'Width'];
  var match = this.testBreakpoint( width );
  var breakpointState;
  if ( match !== this.match ) {
    breakpointState = getBreakpointState( width );
    if ( match && this.enter ) this.enter( breakpointState );
    else if ( this.leave ) this.leave( breakpointState );
  }
  this.match = match;
}
function handleViewportChange ( ) { var width = _viewportEl [ _propPrefix + 'Width' ] ; var match = this . testBreakpoint ( width ) ; var breakpointState ; if ( match !== this . match ) { breakpointState = getBreakpointState ( width ) ; if ( match && this . enter ) this . enter ( breakpointState ) ; else if ( this . leave ) this . leave ( breakpointState ) ; } this . match = match ; }
Test the viewport size and set whether the test passes on the instance.
Test the viewport size and set whether the test passes on the instance .