emit, plugin for element