[Feature Request] provide tag property in QTab API like in QItem API
See original GitHub issueProblem: I would like to realize a horizontal menu with QTabs API. It’s a mix of vue-router links and external links so I would like to mix QRouteTab and QTab - unfortunately QTab does not provide external links like QItem.
Solution: Provide tag property in QTab API like in QItem API e.g.
<q-tab label="Quasar v1" tag="a" target="_blank" href="https://v1.quasar.dev/" />
Alternative: I’ve tried several things. Among others surrounding q-tab with <a>
-tag e.g. the clumsy
<a target="_blank" href="https://v1.quasar.dev/" style="text-decoration: none; color: inherit"><q-tab label="Quasar v1" /></a>
Looks ok at first glance but visual feedback is broken when switching the tab with TAB key.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Tabs - Quasar Framework
Tabs are a way of displaying more information using less window real estate. This page describes the tab selection part through QTabs, QTab...
Read more >Is there an API to fetch tags related to a given tag? - Stack Apps
I would like to be able to access this through the API but I haven't been able to find an API which exposes...
Read more >Quasar 0.17 - Features and Fixes - Steemit
The reasons are obvious since this is a client-side only browser API. ... QUpload "filter" property #1458; [Feature Request] Object as filter in...
Read more >Quasar API Diff - gists · GitHub
Date of the component; Either use this property (along with a listener ... Stack icon and label vertically instead of on same line...
Read more >QWidget Class | Qt Widgets 6.4.1
There are many subclasses which provide real functionality, such as QLabel, QPushButton, ... This property describes the widget's requested font.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I made a codepen to play with that has QBtn and QBtnDropdown: https://codepen.io/Hawkeye64/pen/qBmZoVJ?editors=1010
Right away there is a couple of issues for consistency. The buttons don’t have the same “equal width” of the tabs. The QBtn has some margin going on so it doesn’t touch the top and bottom.
I am thinking, like QField for form items, a QTabWrapper would be nice, such that it can wrap something and make it somewhat behave like a QTab (the same width, underline selection, the same opacity, etc)
Brilliant! Thanks, @pdanpdan ❤️