migrate triggerHanlder to trigger

better backwards compatibility with bootstrap