Hi guys , i’m building a little progress bar, things was goin pretty well before decided to bind a value in change
<JavaScript>
var value = 200;
module.exports = {
value : value
};
</JavaScript>
<ClientPanel Background="Gray">
<StackPanel>
<Panel Height="200"/>
<Rectangle CornerRadius="4" Height="20" Width="80%" Color="Green">
<Rectangle ux:Name="progress" CornerRadius="4" Height="100%" Width="20%" Alignment="Left" Color="Red" />
</Rectangle>
<Button>
<Clicked>
<Set ProgressBar.Value="true"/>
</Clicked>
</Button>
<WhileTrue ux:Name="ProgressBar">
<Change progress.Width="{value}" Easing="QuadraticIn" Duration="0.7"/>
</WhileTrue>
</StackPanel>
<Panel></Panel>
</ClientPanel>
so this is what i’m doin , i want the WhileTrue to be effective with the binded value is that possible? Doin this i’m having a issue cannot parse ‘{value}’ as ‘uno.UX.Size’ Input string was not in the correct format. Can anyone explain me how can i interact with javascript