从主题或插件中使用插件出口连接器

Is there a way to get the current outlet in my .js file?