how can I get something like '<div :class="hidden"></div>' ?
See original GitHub issueHow do I code from Stipple.Html.div() to get something like <div :class="hidden"></div> ?
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:16 (7 by maintainers)
Top Results From Across the Web
How do you create a hidden div that doesn't create a line ...
So what you do is put a <div id="theID" style="display: none;"> where the details should go. Then, when the user clicks the triangle,...
Read more >HTML div hidden Attribute - Dofactory
The hidden attribute hides the <div> element. You can specify either 'hidden' (without value) or 'hidden="hidden"'. Both are valid. A hidden <div> ...
Read more >Hide and show a div - Alex Cican
Hide and show a div with CSS ... The first method, involves using only CSS. We will use the CSS pseudo-class :hover ....
Read more >Hide or show elements in HTML using display property
The style display property is used to hide and show the content of HTML DOM by accessing the DOM element using JavaScript/jQuery.
Read more >How to Hide and Show a <div> - W3docs
How to Hide and Show a <div> ; type · "hidden" ; name · "loc" ; value · "en_US" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The thinking here has evolved quite a bit. I haven’t seen a need to support other frontend frameworks. Frankly, most of the users don’t care how stuff works, just just care that it works well and makes them productive.
But what came up frequently was the need to unify and make the API consistent. That is, one API which is consistent across all the elements. At this point we have 2 pairs of inconsistencies:
a) Stipple/StippleUI elements and Genie.Html elements having slightly different implementations (eg the annoying requirement to put an empty string as the value of Stipple inputs), Stipple/StippleUI elements not supporting array arguments for children, etc.
b) Julia/backend API vs Vue/JS/frontend APIs - I still find that a lot of Vue and JS knowledge is required for non trivial things. I would like to remove more of the need for JS code by extending the Stipple APIs and consolidate them. Ex: we have
for_eachto iterate in Julia andv-forto iterate in Vue.API consolidation thus is high on the todo list now, with the objective to have one Stipple API which would include both Genie and JS features.
@AbhimanyuAryan has joined our team and we’ll work together on this. Maybe we could have a call in a couple of weeks to discuss the API design?
Yes, let’s have a call on this. I’d like to make a proposal which would be breaking but perhaps very convienient and I’d like to hear your opinion (@essenciary , @AbhimanyuAryan, BTW welcome to the Stipple team!) The syntax could be that everything that is an array goes between the brackets, anything else is a parameter.
which would allow for the following usage