textTransform

scalatags.generic.Styles.textTransform
object textTransform extends Style

The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val capitalize: StylePair[Builder, String]

Forces the first letter of each word to be converted to uppercase. Other characters are unchanged.

Forces the first letter of each word to be converted to uppercase. Other characters are unchanged.

MDN

Attributes

lazy val lowercase: StylePair[Builder, String]

Forces all characters to be converted to lowercase.

Forces all characters to be converted to lowercase.

MDN

Attributes

lazy val none: StylePair[Builder, String]

Prevents the case of all characters from being changed

Prevents the case of all characters from being changed

MDN

Attributes

lazy val uppercase: StylePair[Builder, String]

Forces all characters to be converted to uppercase.

Forces all characters to be converted to uppercase.

MDN

Attributes