Skip to Content
avatar image
Former Member

Design Studio: how to hidden RAPIDPROTOTYPE component loading state

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers