nl_tokens: ------------------------------------------------------------------ Handles a key being pressed
pl_tokens: function ( e ) { e . stopPropagation ( ) ; if ( ! this . shown ) { return ; } switch ( e . keyCode ) { case 9 : // tab case 13 : // enter case 27 : // escape e . preventDefault ( ) ; <mask> ; case 38 : // up arrow e . preventDefault ( ) ; this . prev ( ) ; break ; case 40 : // down arrow e . preventDefault ( ) ; this . next ( ) ; break ; } }