Comments (3)
Hi there, yes, you can do that:
// Events for specific pages when it initialized
$$(document).on('pageInit', function (e) {
var page = e.detail.page;
// Handle Modals Page event when it is init
if (page.name === 'ticket') {
$$(page.container).append('----- HERE ------'); // will work
// Get parameters
var id = page.query.id; // here should be your 101 id
// API call
// gen dynamic contnet
}
from framework7.
Sorry, one line wrong, it should be:
$$(page.container).find('.page-content').append('----- HERE ------'); // will work
from framework7.
Did it worked for you?
from framework7.
Related Issues (20)
- problem touchmove slide swiper HOT 1
- Vite f7 Core production builds leads to InvalidCharacterError: Failed to execute 'createElement' on 'Document' HOT 1
- ../../packages/core/framework7-bundle.min.js missing HOT 1
- Text editor text colors and text background HOT 1
- No export named "Col"
- Routes.js error with Fetch and file:// in url when linked file is stored on local android storage file:///data/user/0/my.app/files/files HOT 1
- Wrong stack trace in case of error in the router component
- sheet.setSwipeStep is not a function
- Problem with navbar hideOnPageScroll and subnavbar/list-groups
- Problem with navbar hideOnPageScroll and master-detail-view
- Wrong React interfaces are used for the Svelte import components. HOT 6
- Svelte. Framework7 popup visibility binding is broken. HOT 1
- Svelte 4 warning "no exports condition" when framework 7 library is used. HOT 1
- Svelte. Popup/f7Popup backdrop is not disposed onDestroy HOT 1
- Svelte. Framework 7 build warning
- Problem closing popups on ios HOT 10
- Swipeable tab content is not loaded HOT 1
- MAIN VIEW CRASH AND RELOAD AGAIN BUG HOT 1
- Route async tablet/movil HOT 1
- Picker change its value at random on Safari
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework7.