src/components/datepicker/js/calendar.spec.js
function dispatchKeyEvent(keyCode, opt_modifiers) {
    var mod = opt_modifiers || {};


    angular.element(element).triggerHandler({
      type: 'keydown',
      keyCode: keyCode,
      which: keyCode,
      ctrlKey: mod.ctrl,
      altKey: mod.alt,
      metaKey: mod.meta,
      shortKey: mod.shift
    });
  }
function dispatchKeyEvent(keyCode, opt_modifiers) {
    var mod = opt_modifiers || {};


    angular.element(element).triggerHandler({
      type: 'keydown',
      keyCode: keyCode,
      which: keyCode,
      ctrlKey: mod.ctrl,
      altKey: mod.alt,
      metaKey: mod.meta,
      shortKey: mod.shift
    });
  }
function dispatchKeyEvent ( keyCode , opt_modifiers ) { var mod = opt_modifiers || { } ; angular . element ( element ) . triggerHandler ( { type : 'keydown' , keyCode : keyCode , which : keyCode , ctrlKey : mod . ctrl , altKey : mod . alt , metaKey : mod . meta , shortKey : mod . shift } ) ; }
Dispatches a KeyboardEvent for the calendar.
@param {number} keyCode
@param {Object=} opt_modifiers
Dispatches a KeyboardEvent for the calendar .