Ignition 8.1.24
Perspective
I am passing a parameter to an embedded view, I use the value of that parameter (0 or 1) to either display or not display a label. Works fine, except if I don't want the label to display on that embedded view (set the parameter to 1), the label displays for a split second then disappears. Is there any way to stop it from displaying at all? Possibly set a delay on the labels to appear at all while the parameter is loaded? If so, what would be best practice to do that? Thank you.
Right click the display
property and set it to persistent. Then, set the value to false. With the property set to persistent, it will load in with the value set in the designer, then evaluate the binding.
Perfect, thanks!
An alternative - for anyone interested - is to apply a CSS fade-in animation.
Create the style class and enable the Animated checkbox.
I used the Perspective Built-In Themes | Ignition User Manual --neutral-10
for (almost) invisible at 0% and --neutral-90
for the reveal at 100%.
You could apply it anywhere simply by selecting it from props.style.classes
.
This is the method a colleague implemented in one of my projects, and it's not too bad! It hides some of the flashing caused by bindings on display props as well, while also looking snazzy
Any chance the binding “chain” passes through an intermediary view.custom parameter on its way from view.params to label display/visible parameter?