scalatags

DataConverters

object DataConverters extends DataConverters

Module containing convenient ways of constructing CSS data types

Linear Supertypes
DataConverters, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DataConverters
  2. DataConverters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CssNumber extends AnyRef

    Extends numbers to provide a bunch of useful methods, allowing you to write CSS-lengths in a nice syntax without resorting to strings.

    Extends numbers to provide a bunch of useful methods, allowing you to write CSS-lengths in a nice syntax without resorting to strings.

    Definition Classes
    DataConverters
  2. implicit class HexColorHelper extends AnyRef

    Definition Classes
    DataConverters

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. implicit def Byte2CssNumber(x: Byte): CssNumber

    Definition Classes
    DataConverters
  5. implicit def Double2CssNumber(x: Double): CssNumber

    Definition Classes
    DataConverters
  6. implicit def Float2CssNumber(x: Float): CssNumber

    Definition Classes
    DataConverters
  7. implicit def Int2CssNumber(x: Int): CssNumber

    Definition Classes
    DataConverters
  8. implicit def Long2CssNumber(x: Long): CssNumber

    Definition Classes
    DataConverters
  9. implicit def Short2CssNumber(x: Short): CssNumber

    Definition Classes
    DataConverters
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def element(s: String): Element

    Definition Classes
    DataConverters
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def hsl(h: Int, s: Int, l: Int): Hsl

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100)

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100)

    Definition Classes
    DataConverters
  19. def hsla(h: Int, s: Int, l: Int, a: Double): Hsla

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100) as well as an alpha (opacity) from 0.

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100) as well as an alpha (opacity) from 0.0 to 1.0

    Definition Classes
    DataConverters
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def linearGradient(direction: String, colors: ColorStop*): LinearGradient

    Definition Classes
    DataConverters
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def radialGradient(colors: ColorStop*): RadialGradient

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient.

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS Gradient data type.

    MDN

    Definition Classes
    DataConverters
  26. def radialGradient(style: String, colors: ColorStop*): RadialGradient

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient.

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS Gradient data type.

    MDN

    Definition Classes
    DataConverters
  27. def radialGradient(x: Length, y: Length, style: String, colors: ColorStop*): RadialGradient

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient.

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS Gradient data type.

    MDN

    Definition Classes
    DataConverters
  28. def rgb(r: Int, g: Int, b: Int): Rgb

    A color represented as its 3 primary components, from 0 to 255

    A color represented as its 3 primary components, from 0 to 255

    Definition Classes
    DataConverters
  29. def rgba(r: Int, g: Int, b: Int, a: Double): Rgba

    A color represented as its 3 primary components, from 0 to 255, as well as an alpha (opacity) from 0.

    A color represented as its 3 primary components, from 0 to 255, as well as an alpha (opacity) from 0.0 to 1.0

    Definition Classes
    DataConverters
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def url(s: String): Url

    An image found at a particular URL

    An image found at a particular URL

    Definition Classes
    DataConverters
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataConverters

Inherited from AnyRef

Inherited from Any

Ungrouped