Skip to content

Added if statement modification - #1

Open
oasissan wants to merge 8 commits into
haxsysgit:mainfrom
oasissan:main
Open

Added if statement modification#1
oasissan wants to merge 8 commits into
haxsysgit:mainfrom
oasissan:main

Conversation

@oasissan

@oasissan oasissan commented Sep 1, 2023

Copy link
Copy Markdown

What I did:
Modified the code to the following, every element that has attribute (if) will be wrapped in if statement with the value of the attribute is the condition.

@haxsysgit
haxsysgit self-requested a review September 9, 2023 17:09

@haxsysgit haxsysgit left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi osama , thanks for the contribution but i don't think their is a html attribute like "if"
thanks for your contribution

@oasissan

Copy link
Copy Markdown
Author

Ok so basically there is no attribute called if that is the point I am targeting this attribute exactly to have no conflicts to other attributes. So you basically can add whatever attribute you want in HTML it won't throw any errors.
Lately, I found that there is an attribute called for so I changed the targeted attribute to dj-for and dj-if
I want you to check my last commit and test if it has any errors

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

Successfully merging this pull request may close these issues.

3 participants