Humaid LV100+ 社区会员 2022-09-03 #1 I wanted to program mi band 7 if we swipe left a new page open but it seams like it's not working 附件 Screenshot_2022-08-30-21-13-29-458.jpg 178.2 KB 12次 下载 Screenshot_2022-08-30-21-13-15-926.jpg 135.8 KB 14次 下载 Screenshot_2022-08-30-21-12-46-789.jpg 185.4 KB 11次 下载 Screenshot_2022-08-30-21-12-57-238.jpg 174.5 KB 11次 下载 Screenshot_2022-08-30-21-13-13-258.jpg 144 KB 9次 下载 Screenshot_2022-08-30-21-12-28-898.jpg 184.6 KB 12次 下载
Danny080101 Lv.0 社区会员 2022-09-18 #2 Well I’m able to communicate with you but not understand to be a developer. I never study that before and I think I can ask other developers for help. But not on this website,it is hard to notice any message send on this site
Well I’m able to communicate with you but not understand to be a developer. I never study that before and I think I can ask other developers for help. But not on this website,it is hard to notice any message send on this site
EthanLeung Lv.8 社区会员 2022-09-18 #3 Humaid 说: I wanted to program mi band 7 if we swipe left a new page open but it seams like it's not working 点击展开... wrong syntax for the switch statement, it shld be like this JavaScript: switch(expression) { case x: // code block break; case y: // code block break; } the case block is part of the switch statement ,if the case equals to the expression, it will run the code block associated to it 最后编辑: 2022-09-18
Humaid 说: I wanted to program mi band 7 if we swipe left a new page open but it seams like it's not working 点击展开... wrong syntax for the switch statement, it shld be like this JavaScript: switch(expression) { case x: // code block break; case y: // code block break; } the case block is part of the switch statement ,if the case equals to the expression, it will run the code block associated to it
EthanLeung Lv.8 社区会员 2022-09-18 #4 JavaScript: hmApp.registerGestureEvent(function (event) { switch (event) { case hmApp.gesture.LEFT: hmApp.gotoPage({ url: "(url of the page)", param: "..." });
JavaScript: hmApp.registerGestureEvent(function (event) { switch (event) { case hmApp.gesture.LEFT: hmApp.gotoPage({ url: "(url of the page)", param: "..." });