![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
![]() |
Sat, May 14 2022 12:22 PM | Permanent Link |
Kane Jun EZ-Tech, Inc | Hi
This is related to capacitorjs thread prior to this thread. I think I was too vague when I asked previous thread so I am more specific now. I did not know how to start capacitorjs and was hoping to get any clue to get started capacitorjs. After reading capacitorjs docs and examples it looks I need to know about javascript modules import. Does EWB support javascript import/export module? If it does how can I import module that was exported from another module? Here is the link to use capacitor camera plugin https://capacitorjs.com/docs/apis/camera By the way I think EWB+capacitorjs will be awesome combination to build phone app if it is possible. Phonegap is dead and cordova is fading away. Thanks in advance. Kane |
Sat, May 14 2022 4:05 PM | Permanent Link |
erickengelke | Kane Jun wrote:
>This is related to capacitorjs thread prior to this thread. >I think I was too vague when I asked previous thread so I am more specific now. >I did not know how to start capacitorjs and was hoping to get any clue to get started capacitorjs. ewb supports integration with javascript libraries. Yeah, Cordova is dead or close to it. HTML5 supports cameras without needing extra libraries. I'm not sure what capacitor really buys you. I looked for example built projects but didn't see anything exception.... compared to something like 3js which has fantastic examples. erick EWB Programming Books and Component Library http://www.erickengelke.com |
Sat, May 14 2022 6:09 PM | Permanent Link |
Kane Jun EZ-Tech, Inc | Erick.
Thanks for your quick reply. 3js looks much too advanced for me as a hobby programmer but it looked awesome. I just want to integrate EWB and phone's natural function and capacitorjs looked simple. However after following its example I got stuck at 'import' part. I tried both tscript and external js but failed. I am not particularly interested in taking picture. Taking picture was starting point to learn. Can you ( or anyone ) give me the very simple example step by step how to use 'import' statement from the external js stored in another folder in EWB? Thanks Kane erickengelke wrote: Kane Jun wrote: >This is related to capacitorjs thread prior to this thread. >I think I was too vague when I asked previous thread so I am more specific now. >I did not know how to start capacitorjs and was hoping to get any clue to get started capacitorjs. ewb supports integration with javascript libraries. Yeah, Cordova is dead or close to it. HTML5 supports cameras without needing extra libraries. I'm not sure what capacitor really buys you. I looked for example built projects but didn't see anything exception.... compared to something like 3js which has fantastic examples. erick EWB Programming Books and Component Library http://www.erickengelke.com |
Sat, May 14 2022 7:31 PM | Permanent Link |
erickengelke | Kane Jun wrote:
>3js looks much too advanced for me as a hobby programmer but it looked awesome. >I just want to integrate EWB and phone's natural function and capacitorjs looked simple. Yeah, ewb doesn't have import per se. You can include other scripts, but it's a lot of work for an new user. I wrote a whole book surprisingly mostly about that for ewb 2.x, But things are still a little different in 3.x, you also need to "pascal typecast" things a little more strictly than in 2.x. I've integrated many Javascript libraries into ewb in the past, but I spent 15 minute on capacitor and didn't see it buying me much of anything new, except maybe a simpler PWA-writing experience. Maybe I'm wrong though. What does it offer you that makes it attractive? erick EWB Programming Books and Component Library http://www.erickengelke.com |
Sat, May 14 2022 7:55 PM | Permanent Link |
Kane Jun EZ-Tech, Inc | Erick,
Since direct import statement is not option I am trying dynamic import function and testing now. I will find out later. Thanks again Erick. erickengelke wrote: Kane Jun wrote: >3js looks much too advanced for me as a hobby programmer but it looked awesome. >I just want to integrate EWB and phone's natural function and capacitorjs looked simple. Yeah, ewb doesn't have import per se. You can include other scripts, but it's a lot of work for an new user. I wrote a whole book surprisingly mostly about that for ewb 2.x, But things are still a little different in 3.x, you also need to "pascal typecast" things a little more strictly than in 2.x. I've integrated many Javascript libraries into ewb in the past, but I spent 15 minute on capacitor and didn't see it buying me much of anything new, except maybe a simpler PWA-writing experience. Maybe I'm wrong though. What does it offer you that makes it attractive? erick EWB Programming Books and Component Library http://www.erickengelke.com |
This web page was last updated on Friday, December 1, 2023 at 06:01 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |