nextcloud-libraries / nextcloud-vue

🍱 Vue.js components for Nextcloud app development ✌ https://npmjs.org/@nextcloud/vue
https://nextcloud-vue-components.netlify.app/
Other
215 stars 85 forks source link

Allow custom actions inside Actions component #1962

Open dartcafe opened 3 years ago

dartcafe commented 3 years ago

As a developer, I want to use custom actions inside the action slot to deduplicate code.

I.e. in polls we created a custom action for deletion of several items: https://github.com/nextcloud/polls/blob/master/src/js/components/Actions/ActionDelete.vue

Currently actions component must be registered and applied inside the custom component, wich prevents using it inside an actions menu.

raimund-schluessler commented 1 year ago

@dartcafe Can you check if this issue is still valid, please? I think it should work now.

dartcafe commented 1 year ago

As soon, as I have time. Sorry, busy atm.