Add official support for trigger custom events