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

Ability to hide/show element on DOM using solid-js hypserscript #243

Open
saivishwak opened this issue Apr 30, 2023 · 0 comments
Open

Ability to hide/show element on DOM using solid-js hypserscript #243

saivishwak opened this issue Apr 30, 2023 · 0 comments

Comments

@saivishwak
Copy link

I am trying to render a component using a JSON layout and the layout has some state bindings which are createSignals internally. I would like to handle the hideComponent binded to a state value. To render the JSON to DOM I am using hyperscript.

So is there ability to just pass hide prop to h method which is signal and it automatically handles remove from DOM and add it to DOM? Like how _$insert does for JSX

@saivishwak saivishwak changed the title Ability to hide/show element on DOM using hypserscript Ability to hide/show element on DOM using solid-js hypserscript Apr 30, 2023
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