Run dom events by emitting.