start writing directive
control keydown event