I tried to use the attribute parameter of mixins.
That parameter seems to not be supported.
I tried to use code like:
mixin listRow(name, link)
tr&attributes(attributes)
td= $name
td= $link
+listRow("some name", "some-link.com")(hx-swap-oob="beforeend:#list-table")
It should create some html like:
<tr hx-swap-oob="beforeend:#list-table">
<td>some name</td>
<td>some-link.com</td>
</tr>
for the mixin I also tried
mixin listRow(name, link)
tr&attributes($attributes)
td= $name
td= $link
but that did not work either.
Is there another way to implement this or are there plans to fix it?
I tried to use the attribute parameter of mixins.
That parameter seems to not be supported.
I tried to use code like:
It should create some html like:
for the mixin I also tried
but that did not work either.
Is there another way to implement this or are there plans to fix it?