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

forEl and ifEl make it more functionality #3

Open
souljungkim opened this issue Apr 5, 2020 · 0 comments
Open

forEl and ifEl make it more functionality #3

souljungkim opened this issue Apr 5, 2020 · 0 comments
Assignees

Comments

@souljungkim
Copy link
Collaborator

forEl

newEl('div').add([
  newEl('span').html('Hello forEl'),
  forEl(3, function(it){ return newEl('br')  })
]);

ifEl

var statusHealth = true;
newEl('div').add([
  newEl('span').html('Hello ifEl').if(statusHealth, function(it){ it.add(' How are you? ') }),
  forEl(3, function(it){ return newEl('br')  })
]);
souljungkim added a commit that referenced this issue Jul 14, 2021
souljungkim added a commit that referenced this issue Nov 15, 2022
@souljungkim souljungkim self-assigned this Nov 15, 2022
souljungkim added a commit that referenced this issue Nov 15, 2022
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

1 participant