Feature request: 'Ajax Pages' for Tabs
See original GitHub issueAs mentioned in a issue and in various questions on the forum;
- How to load view tab dynamically? #280
- Pages in the Tab-Bar example
- How to separate each tab into its own page
- Is there any way to refresh the content of a tab when we visit it?
It seems there are more people (besides me) looking for a way to load ‘Ajax Pages’, to leverage for example Template7. In my current solution using the $$('.tab').on('show', function(){ })
event I have to overcome a lot of “issues” which already have been implemented within F7 (which is awesome, did I mention that 😃), it feels a bit like I am reinventing the wheel. Therefore this request.
Current “issues” that we need to overcome;
- handling the whole request via e.g.
mainView.router.load(options)
- to leverage Template7 etc.
- caching / reloading
- page “transitions” e.g. showing the
myApp.showIndicator();
- etc.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Feature request: 'Ajax Pages' for Tabs · Issue #412 - GitHub
#280 Pages in the Tab-Bar example How to separate each tab into its own page Is there any way to refresh the ......
Read more >Responsive Tabs - Fetch external content via Ajax
Responsive Tabs allows you to set tabs linking to external documents which can be web pages, XML or json documents. The tab content...
Read more >How we captured AJAX requests from a website tab ... - Moesif
Learnings on how to capture AJAX requests from any website calling an API while building a Chrome Extension.
Read more >How to normalize the ajax call for multiple tabs? - Stack Overflow
I found that if user open the application in multiple tabs then each tab fire the request to server for the new notification/message...
Read more >Feature Request: Browser Tab Notification | WordPress.org
Just seen at a shop where I've put some goods in the basket, opened a new tab for checking other page, as soon...
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’m sure someone could come up with a more elegant permanent solution.
I’m using the Material scrolling tabbar. I haven’t tested this with anything else.
Using 1.5.0 if you change lines 7552-7554 from
to
It’ll force a tab-link to act like a normal link. Which means if you’re using the default ajax links the tab links start acting like any other link. If you throw the “no-animation” class on the tab link you can barely tell the difference between it and the non-ajax tabs. Hitting the back button looks slightly off but I can live with it for now.
I should also note that this relies on the HTML having an identical set of tabs at the top of each page and manually marking the active tab on the server side (or any other manual way).
It is possible in v2