PDA

View Full Version : How to initially hide a webview section



hmischel@diligentsystems.com
2018-05-04, 16:34
I am having some difficulty having a webview section initially hidden.

I have tried visible when 1=2.
I have tried Lianja.get('page1.section1').hide() in the page init, page ready, section init, section ready.

If I put the hide() in button, it is hidden, so the code works.

How do I set the initial state of the section to hidden?

:confused:

Herb

barrymavin
2018-05-04, 21:39
Take a look at the UI states example. The visible state is only applied at runtime. Switch to runtime app view. When you return to development view it will be forced visible again so you can see it and continue development