html-framework-7

PHP Api iOS - Launch app from PHP code? [duplicate]

大兔子大兔子 提交于 2020-07-08 03:20:43
问题 This question already has answers here : How to open a native iOS app from a web app (4 answers) Closed 4 years ago . I was trying to create some web app using Framework 7. Everything's fine, but i'd like to be able to call an app from the Home Screen (for example, the Store or the News app). I know that some APIs are published by Apple Inc, but I can't find a way to call an app from my PHP code. The Web app is created to run in Safari. I tried something like: <script type="text/javascript"

PHP Api iOS - Launch app from PHP code? [duplicate]

此生再无相见时 提交于 2020-07-08 03:17:35
问题 This question already has answers here : How to open a native iOS app from a web app (4 answers) Closed 4 years ago . I was trying to create some web app using Framework 7. Everything's fine, but i'd like to be able to call an app from the Home Screen (for example, the Store or the News app). I know that some APIs are published by Apple Inc, but I can't find a way to call an app from my PHP code. The Web app is created to run in Safari. I tried something like: <script type="text/javascript"

Swiper Slider is creating blank spaces after last slide

做~自己de王妃 提交于 2020-05-15 05:49:06
问题 I'm using Swiper Slider for a hybrid app i'm creating using Phonegap with Framework 7. Each slide is made with dynamic content that is being brought through an Ajax call. The problem is that i have two Sliders in the same page, and when i reach the last slide on both of them, a huge blank space starts appearing and the more we slide with our finger, the more blank space it will create. I will leave here some prints and the relevant bits of code. My HTML File: <div class="ementa-sobre pl30

Framework7: Login redirect

ⅰ亾dé卋堺 提交于 2020-01-24 12:35:31
问题 When user visits login.html page, localStorage is used to check if a user is logged in. The page should redirect to profile.html and display notofication message. The message is displayed, but the page (login.html) is the same.. if( localStorage.user_login ) { mainView.router.loadPage({url:'profile.html', ignoreCache:true, reload:true }); myApp.addNotification( { message: 'Welcome '+ localStorage.user_username +'!' } ); } How can i make the page redirect if the user is logged in? 回答1: put

Combining Framework 7 & Bootstrap 4

纵然是瞬间 提交于 2020-01-22 02:37:10
问题 I have completed the project for the mobile website using html and bootstrap 4 and now I will work on the mobile version using framework 7. The problem is it possible to move my code into framework 7 and use bootstrap 4 in it? or is it not efficient and should I re-code it in pure framework 7? --| using google translate |-- 回答1: Yes. It is possible to combine Bootstrap 4 with Framework7. F7 can work with just about any css, be it your own custom styles, or Bootstrap 4. 来源: https:/

Framework7 datepicker modify events after initializing

风流意气都作罢 提交于 2020-01-06 15:25:12
问题 Hello Framework7 team, How do we modify (renew) the events after initializing for example on a month change (onMonthYearChangeStart) ? var today = new Date(); var weekLater = new Date().setDate(today.getDate() + 7); var calendarEvents = myApp.calendar({ input: '#calendar-events', dateFormat: 'M dd yyyy', events: { from: today, to: weekLater } }); Kind regards, Mario 回答1: I ended up looping through the events and added/removed classes to the date object like below: So with every month change I

Framework7 inline pages components initialize not firing

自作多情 提交于 2020-01-06 06:37:22
问题 I am using Framework7 framework. When trying to initialize a component, like calendar or picker at homepage they work and got fired, but in inline pages not. When I am saying "pages" im talking about "views". js file: var monthNames = ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט' , 'ספטמבר' , 'אוקטובר', 'נובמבר', 'דצמבר']; var dayNames = ['ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת']; var dateObj = new Date(); var month = dateObj.getMonth(); //months from 1

html5 videos not showing controls on android once loaded

雨燕双飞 提交于 2020-01-01 19:29:13
问题 Good day. I am currently working on a hybrid app using framework7 which has an html5 video. The video works fine and loads just ok but whenever the video goes on fullscreen or the controls disappear from the video player interface it wont show up again when I press the video playing. I am using <video width="100%" height="auto" controls </video> . Would there be a way to fix this or is this a limitation on the hybrid app itself? Thank you for your help. 回答1: That issue is caused by fastclick.

Framework7+Vue [error] : Property or method is not defined on the instance but referenced during render

落爺英雄遲暮 提交于 2019-12-25 12:06:47
问题 I am new to Vue and trying out Framework7 and Vue for Android. Got stuck at the error: Property or method "bannerLinks" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. found in <App> at C:\AppDEV\Mobile\xyz\src\main.vue <Root> bannerLinks is been defined in Main.js file under data attribute (code below) new Vue({ el: '#app', data: { bannerLinks: [] }, mounted() { axios.get('/skills').then(Response => this

Framework7+Vue [error] : Property or method is not defined on the instance but referenced during render

不打扰是莪最后的温柔 提交于 2019-12-25 12:06:14
问题 I am new to Vue and trying out Framework7 and Vue for Android. Got stuck at the error: Property or method "bannerLinks" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. found in <App> at C:\AppDEV\Mobile\xyz\src\main.vue <Root> bannerLinks is been defined in Main.js file under data attribute (code below) new Vue({ el: '#app', data: { bannerLinks: [] }, mounted() { axios.get('/skills').then(Response => this