plugin tabs--option to render and use v-show vs. v-if? #49
-
I'd like to use the tabs component but want to support printing. Because the secondary tabs are not rendered, dropping out with This is an issue for us because we actually render the entire site to PDF during our build process, as a way to allow users to download an offline content to use. For that case, we would like to render all tabs and handle print display with media queries. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm open with having that feature. Feel free to open a PR. |
Beta Was this translation helpful? Give feedback.
-
Thanks, will make a PR soon I was thinking about the same thing on implementation, but I think you mean:
|
Beta Was this translation helpful? Give feedback.
Thanks, will make a PR soon
I was thinking about the same thing on implementation, but I think you mean:
v-if="selected === label || isPrint"
(ie. render if selected or printing)matchMedia('print').matches
etc.