Event-triggered sliding mode control of nonlinear dynamic systems