I use CrankJS and Ionic to develop an H5 application. Ionic uses the WebComponent specification. I need to follow the official documentation to pass in certain properties as Prop instead of Attr. I checked the documentation of CrankJS and found no relevant content.
Here is the smallest display of the problem I am facing
I was wondering, if I didn't miss anything, whether there can be the following syntax for such a requirement to be handled clearly, just like the preact processing method, can it be considered? For now, I need it very much.
<div prop:demo1="demo1" attr:demo2="demo2"> test-div </div>
Preact support for prop: & attr: directives
I use CrankJS and Ionic to develop an H5 application. Ionic uses the WebComponent specification. I need to follow the official documentation to pass in certain properties as Prop instead of Attr. I checked the documentation of CrankJS and found no relevant content.
Here is the smallest display of the problem I am facing
I was wondering, if I didn't miss anything, whether there can be the following syntax for such a requirement to be handled clearly, just like the preact processing method, can it be considered? For now, I need it very much.
Preact support for prop: & attr: directives