How to make div unclickable in ionic?


#1

I want to make div unclickable for sometime after all content is loading I want to make that div clickable how can I achieve this functionality.


#2

Hello,

maybe I thinking to simple, but maybe add only an if clause with an flag variable to your rountine that handles your click event.

if(myflag){
return;
}

Best regards, anna-liebt


#3

Hi @saty932, can you check whether your content has loaded or not in you .ts file by any method? If yes then I’ve a very simple solution for that. Let me know.


#4

I finally able to achieve this by showing some content on top of the original content with ion-fixed and background as transparent.Then hiding after I fetched whole content.

Thanks,
Sathish