Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to conditional displaying of items - if-else #81

Open
StanislavChankov opened this issue Jul 28, 2022 · 2 comments
Open

Add support to conditional displaying of items - if-else #81

StanislavChankov opened this issue Jul 28, 2022 · 2 comments

Comments

@StanislavChankov
Copy link

StanislavChankov commented Jul 28, 2022

Is your feature request related to a problem? Please describe.
I want to be able to display an attributes based on condition.

Describe the solution you'd like

<div if="true">Shown</div>
<div if="false">Hidden</div>

Describe alternatives you've considered
No alternatives

Additional context
Else statements can be also added.

@richard-scryber
Copy link
Owner

Hi Stanislav - we do support the hidden attribute, with the binding calculations this should be able to achieve what you need.

And sorry for the slow response, a lot has happened in the last 6 months for me, but back on it.

@StanislavChankov
Copy link
Author

Hi Stanislav - we do support the hidden attribute, with the binding calculations this should be able to achieve what you need.

And sorry for the slow response, a lot has happened in the last 6 months for me, but back on it.

Can you please provide some example of this solution, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants