ionic framwork

Just starting out? Need help? Post your questions and find answers here.
ebelouet
Posts: 21
Joined: Mon Apr 08, 2019 9:46 am

ionic framwork

Post by ebelouet »

HI,

Is it possible to use ionic framwork with spiderbasic and do you know where can we find example ?

Sincerely
Eric
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: ionic framwork

Post by Peter »

Code: Select all

EnableExplicit

Procedure ButtonEvent()
  MessageRequester("Hello!")
EndProcedure

! $('<script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/ionic.esm.js"></script>').appendTo("head");
! $('<script nomodule src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/ionic.js"></script>').appendTo("head");
! $('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core/css/ionic.bundle.css"/>').appendTo("head");

Define HTML.s

HTML = "<ion-app>" + 
       "  <ion-content text-center>" + 
       "    <h1>Basic usage</h1>" + 
       "    <ion-button onclick='f_buttonevent()'>Click me</ion-button>" + 
       "  </ion-content>" + 
       "</ion-app>"

! $(v_html).appendTo("body");
ebelouet
Posts: 21
Joined: Mon Apr 08, 2019 9:46 am

Re: ionic framwork

Post by ebelouet »

thank a lot.
Eric
munfraid
Posts: 104
Joined: Sat Mar 24, 2018 1:33 pm

Re: ionic framwork

Post by munfraid »

Thanks, Peter, this is interesting!
Post Reply