parametrize over event name and emit 'open'
release 0.2.0