Closed henriklundgren closed 5 years ago
Hi,
There is no dedicated forum for this. Here is as good a place as any.
You can do the following:
struct X
{
mixin Node!"div"; // optional
@child Y y1;
@child Y y2; // can have multiple children
}
A good example of recipes would be the todo-mvc example
Hi,
Apologize before-hand if I picked the wrong forum to ask my question.
How would you pass a Spasm struct instead of a
HTMLElement
?Or what is the recipe to accomplish similar?