Replies: 3 comments 5 replies
-
We have https://www.javadoc.io/doc/com.armanbilge/calico-docs_sjs1_3/latest/calico/html/Html.html#navTag-0 We generate the elements using the scala-dom-types library. You can check there: |
Beta Was this translation helpful? Give feedback.
-
Hey @armanbilge I added something for scala-dom-types If merged, we will have a new version of scala-dom-types. Should I create a new PR for Calico to upgrade the dependent version and release the new version for use in other projects? |
Beta Was this translation helpful? Give feedback.
-
I already megre pr in scala-dom-types. And scala-dom-types make a release later this week. |
Beta Was this translation helpful? Give feedback.
-
Hi @armanbilge. I really love Calico 😘. And after writing a demo, I think it's a good way to learn functional programming.
I am trying to combine Calico and the JavaScript ecosystem in the mobile product application to create more possibilities.
The type we use in DSL seems to be implemented based on the
fs2.dom
of the wrapperscala.js.dom
Usually, this is sufficient.
But when I combine some libraries, there are custom tags in the library.
For example, the
nav
in https://tw-elements.com/docs/standard/navigation/navbar/But this not only looks ugly but also to some extent loses flexibility.
Do we provide other ways to extend new tags and write them in DSL?
like
lazy val nav: HtmlTag[F, HtmlElement[F]] = htmlTag("nav")
Beta Was this translation helpful? Give feedback.
All reactions