rust-dominator icon indicating copy to clipboard operation
rust-dominator copied to clipboard

Feat: .attrs!

Open dakom opened this issue 3 years ago • 0 comments

@Pauan proposed the following:

.attrs!{ foo="bar", qux="corge" }

which would essentially be the same as

.attr("foo", "bar")
.attr("qux", "corge")

This simple macro would actually go a very long way to make dominator code more palatable to newcomers especially imho.

dakom avatar May 31 '22 18:05 dakom