Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide access to the breakpoint service object #285

Open
egormkn opened this issue Nov 8, 2023 · 1 comment
Open

Provide access to the breakpoint service object #285

egormkn opened this issue Nov 8, 2023 · 1 comment

Comments

@egormkn
Copy link

egormkn commented Nov 8, 2023

There is an example in vuetify docs that opens the fullscreen dialog on mobile devices:

<template>
  <v-dialog :fullscreen="$vuetify.breakpoint.mobile">
    ...
  </v-dialog>
</template>

In ipyvuetify the fullscreen property of v.Dialog expects a boolean value. Is it possible to either allow it to be a string with a javascript expression, just like in the example, or provide some widget with the same properties as in $vuetify.breakpoint to use with jslink?

@maartenbreddels
Copy link
Collaborator

Hi,

I see why that is useful. You could always use a template, but we have explored this idea a bit in widgetti/ipyvue#80

cheers,

Maarten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants