Open
Description
As the title says, there are attributes where it could make sense to provide conveniences for setting them up, ie:
Form { }
.method(…)
// versus
Form(method: …) { }
I'm not suggesting removing the .method(…)
modifier, but if it always needs to be specified, it may be cleaner in use to allow specifying it at the point of creation. I'm sure there are other elements where this makes sense.
I'm also aware of the attributes
parameter, but that provides no type-safety.