Skip to Content
0

Design Studio: how to hidden RAPIDPROTOTYPE component loading state

Jul 07, 2017 at 08:36 AM

38

avatar image

Hello Everyone.

I just have used RAPIDPROTOTYPE component,which I get from SDK community.Now,my inssue is that I can run well in local mode,but if I run in BI platform,the lodding state will always show.Of caurse,I have used a Timer.

Timer code as follow."s" is a globle script.the interval time is 200ms.

s=s+10;
//GLOBAL_SCRIPTS_1.anim(s+"");
var str="<head><style type='text/css'>"+
".anim{border-top:solid 2px red;border-radius:50% 50%;border-top-color:red;transform:rotate("+s+"deg)}</style></head>";
RAPIDPROTOTYPE_2.setHTML(str); 

And I also have set follow code in start up:

RAPIDPROTOTYPE_2.hideLoadingState();

Anyone can help me?

Thanks.

Jing

component.png

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers