tweak event syntax and make pressedCls a config