scalatags icon indicating copy to clipboard operation
scalatags copied to clipboard

ScalaTags is a small XML/HTML construction library for Scala.

Results 41 scalatags issues
Sort by recently updated
recently updated
newest added

One of strong points of scalatags is ability to traverse, extend and transform assembled model before rendering. Unfortunately it is hacky right now - not everything is public and not...

I might be missing something, but I can't figure out how to select tags (not classes) in a stylesheet. I managed to get that working for classes: ```scala object Style...

Hi there - I copied your example from cask/scalatags but used the latest versions and Scala 3 and I'm getting a spurious error: ```scala Found: scalatags.Text.all.html.Self Required: scalatags.text.Frag The following...

Seems like scalatags only supports the immutable Seq `scala.collection.immutable.Seq` rather than the generic `scala.collection.Seq` - just wondering if this was by design or by oversight.

This can be used in `` e.g. ``. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link

Follows from https://github.com/com-lihaoyi/scalatags/pull/232#discussion_r771552633

[Laminar](https://laminar.dev) introduced the convention (I'm not sure if this was already available before somewhere else) to replace the `attribute := value` syntax with `attribute(value)`. I find this syntax much easier...

One thing missing from the Scala 3 upgrade #226 is that `protected[this]` and `private[this]` have been [dropped](https://docs.scala-lang.org/scala3/reference/dropped-features/this-qualifier.html) in Scala 3 but they are somewhat prevalent across the whole repository. I...

The code: ``` package tutorial.webapp import org.scalajs.dom import org.scalajs.dom.document import scalatags.JsDom.all._ object TutorialApp { def main(args: Array[String]): Unit = { appendPar(document.body, "Hello World") } def appendPar(targetNode: dom.Node, text: String): Unit...

I cant find a solution for a this problem occuring when running `sbt` on the scalatags project itself, after a git clone of this repository. e.g. `build.sbt:11: error: not found:...