style
views.html.helper.style
object style extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]
Attributes
- Graph
-
- Supertypes
- Self type
-
style.type
Members list
Value members
Concrete methods
Generate an inline style with CSP nonce.
Generate an inline style with CSP nonce.
Example:
@style(args = Symbol("type") -> "text/css") {
...
}
See style element for more details.
Value parameters
- args
-
Set of extra HTML attributes.
- body
-
The style body.
Attributes
In this article