- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
If you start a Ionic project and drag a modal, actionsheet, popup or any other ionic specific widget, Intel XDK adds a controller javascript file to the project.
This is fine, however it names them incorrectly. When it makes the javascript file it names it "index_uib_w_1_modal.js" and adds a function called index_uib_w_1_modal_controller inside the file. It also adds it to the included script list using the same name.
Then when you add a button to open the modal and link it using the "interactivity section" it references "uib_w_1_modal_controller" and will not work. It leaves off the "index_" part.
Also inside app designer when you click on the modal widget we added, under properties it says "edit file". clicking on this causes an error because it is looking for "uib_w_1_modal.js"
removing "index_" from the js file and function name fixes this issue.
Maybe the next update to Intel XDK could fix this linking issue.
All the best.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks,
We'll look into it and get it fixed.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Can you tell us which XDK version your using?
