Replies: 3 comments 1 reply
-
Hi @thor9n , How about using another way like: $vfm.show('modal', {
component: PrivacyPolicy,
bind: {
width: '1200'
}
}) and adding <template>
<vue-final-modal>
...
</vue-final-modal>
</template>
<script>
export default {
props: {
width: {
// ...
}
}
}
</script> |
Beta Was this translation helpful? Give feedback.
1 reply
-
btw, Although there is a feature |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for you feedback. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First off, thanks for a great component — it's really well done!
I've placed a
<modal></modal>
in the root of my app that I call from individual components using$vfm.show()
.I'm trying to set the modal width dynamically by passing params as following:
...but I can't make it work since
params
only are available in thescoped-slot
, and I would like to have it available as a computed property for style bindings.What's the way to go forward if I want to be able to pass
width
as an argument with a default value set in the modal component?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions