function handleOffsetChange (left) {
    var elements = getElements();
    var newValue = ((ctrl.shouldCenterTabs || isRtl() ? '' : '-') + left + 'px');

    // Fix double-negative which can happen with RTL support
    newValue = newValue.replace('--', '');

    angular.element(elements.paging).css($mdConstant.CSS.TRANSFORM, 'translate3d(' + newValue + ', 0, 0)');
    $scope.$broadcast('$mdTabsPaginationChanged');
  }
function handleOffsetChange (left) {
    var elements = getElements();
    var newValue = ((ctrl.shouldCenterTabs || isRtl() ? '' : '-') + left + 'px');

    
    newValue = newValue.replace('--', '');

    angular.element(elements.paging).css($mdConstant.CSS.TRANSFORM, 'translate3d(' + newValue + ', 0, 0)');
    $scope.$broadcast('$mdTabsPaginationChanged');
  }
function handleOffsetChange ( left ) { var elements = getElements ( ) ; var newValue = ( ( ctrl . shouldCenterTabs || isRtl ( ) ? '' : '-' ) + left + 'px' ) ; // Fix double-negative which can happen with RTL support newValue = newValue . replace ( '--' , '' ) ; angular . element ( elements . paging ) . css ( $mdConstant . CSS . TRANSFORM , 'translate3d(' + newValue + ', 0, 0)' ) ; $scope . $broadcast ( '$mdTabsPaginationChanged' ) ; }
Apply ctrl.offsetLeft to the paging element when it changes
@param left
Apply ctrl . offsetLeft to the paging element when it changes