yaiks / vue-cookie-comply

A Vue 3 compatible component to handle cookie consent
MIT License
69 stars 17 forks source link

Teleport defaults to body, make it customizable through props #2

Closed yaiks closed 3 years ago

yaiks commented 3 years ago

By now, the modal using Vue Teleport API always target the <body> tag. It would be nice to make it customizable through a props passed to the vue-cookie-comply component.

Something like:

<vue-cookie-comply modalTarget="#app" />