nl_tokens: left / right / up / down arrow listener
pl_tokens: function keydownListener ( ev ) { if ( isDisabled ( ) ) return ; var changeAmount ; if ( vertical ? ev . keyCode === $mdConstant . KEY_CODE . DOWN_ARROW : ev . keyCode === $mdConstant . KEY_CODE . LEFT_ARROW ) { changeAmount = - step ; } else if ( vertical ? ev . keyCode === $mdConstant . KEY_CODE . UP_ARROW : ev . keyCode === $mdConstant . KEY_CODE . RIGHT_ARROW ) { changeAmount = step ; } changeAmount = invert ? - changeAmount : changeAmount ; if ( changeAmount ) { if ( ev . metaKey || ev . ctrlKey || ev . altKey ) { changeAmount *= 4 ; } ev . preventDefault ( ) ; ev . stopPropagation ( ) ; <mask> . $evalAsync ( function ( ) { setModelValue ( ngModelCtrl . $viewValue + changeAmount ) ; } ) ; } }