Trait

com.raquo.domtypes.generic.defs.styles.units

LengthUnits

Related Doc: package units

Permalink

trait LengthUnits[T[_], Num] extends CalcUnits[T]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LengthUnits
  2. CalcUnits
  3. DerivedStylePropBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def derivedStyle[A](encode: (A) ⇒ String): T[A]

    Permalink
    Attributes
    protected
    Definition Classes
    DerivedStylePropBuilder
  2. abstract def encodeCalcValue(exp: String): String

    Permalink

    Encode / sanitize value to put inside calc() function

    Encode / sanitize value to put inside calc() function

    Attributes
    protected
    Definition Classes
    DerivedStylePropBuilder
  3. abstract def encodeUrlValue(url: String): String

    Permalink

    Encode / sanitize value to put inside url() function

    Encode / sanitize value to put inside url() function

    Attributes
    protected
    Definition Classes
    DerivedStylePropBuilder

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val calc: T[String]

    Permalink

    Wrap the provided expression in CSS calc() function.

    Wrap the provided expression in CSS calc() function.

    Definition Classes
    CalcUnits
    See also

    https://developer.mozilla.org/en-US/docs/Web/CSS/calc()

  6. lazy val ch: T[Num]

    Permalink

    ch represents the width, or more precisely the advance measure, of the glyph "0" (zero, the Unicode character U+0030) in the element's font.

    ch represents the width, or more precisely the advance measure, of the glyph "0" (zero, the Unicode character U+0030) in the element's font. --MDN

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  8. lazy val em: T[Num]

    Permalink

    em represents the calculated font-size of the element.

    em represents the calculated font-size of the element. If used on the font-size property itself, it represents the inherited font-size of the element. --MDN

  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  17. lazy val percent: T[Num]

    Permalink
  18. lazy val pt: T[Num]

    Permalink

    1 pt is 4/3 of a pixel.

  19. lazy val px: T[Num]

    Permalink

    Pixels

  20. lazy val rem: T[Num]

    Permalink

    rem represents the font-size of the root element (typically <html>).

    rem represents the font-size of the root element (typically <html>). When used within the root element font-size, it represents its initial value (a common browser default is 16px, but user-defined preferences may modify this). --MDN

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. lazy val vh: T[Num]

    Permalink

    1 vh is equal to 1% of the height of the viewport's initial containing block --MDN

  24. lazy val vmax: T[Num]

    Permalink

    1 vmax is equal to the larger of 1 vw and 1 vh --MDN

  25. lazy val vmin: T[Num]

    Permalink

    1 vmin is equal to the smaller of 1 vw and 1 vh --MDN

  26. lazy val vw: T[Num]

    Permalink

    1 vw is equal to 1% of the width of the viewport's initial containing block --MDN

  27. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from CalcUnits[T]

Inherited from DerivedStylePropBuilder[T]

Inherited from AnyRef

Inherited from Any

Ungrouped