Object

japgolly.scalajs.react.vdom.HtmlStyles

alignSelf

Related Doc: package HtmlStyles

Permalink

object alignSelf extends Style[String]

In flexbox layouts the align-self CSS property aligns flex items of the current flex line overriding the align-items value. If any of the flex item's cross-axis margin is set to auto, then align-self is ignored.

For grid layouts, aligns the content inside a grid item along the column axis (as opposed to justify-self which aligns along the row axis). This value applies to the content inside a single grid item.

Linear Supertypes
Style[String], Attr[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. alignSelf
  2. Style
  3. Attr
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def :=[A](a: A)(implicit t: ValueType[A, String]): TagMod

    Permalink
    Definition Classes
    Style → Attr
  4. final def :=?[O[_], A](oa: O[A])(implicit O: OptionLike[O], t: ValueType[A, String]): TagMod

    Permalink
    Definition Classes
    Attr
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. final val attrName: String

    Permalink
    Definition Classes
    Attr
  8. final def auto: TagMod

    Permalink

    Computes to parent's align-items value or stretch if the element has no parent.

  9. final def baseline: TagMod

    Permalink

    All flex items are aligned such that their baselines align.

    All flex items are aligned such that their baselines align. The item with the largest distance between its cross-start margin edge and its baseline is flushed with the cross-start edge of the line.

  10. final def center: TagMod

    Permalink

    In flexbox layouts the flex item's margin box is centered within the line on the cross-axis.

    In flexbox layouts the flex item's margin box is centered within the line on the cross-axis. If the cross-size of the item is larger than the flex container, it will overflow equally in both directions.

    For grids it aligns the content in the center of the grid area.

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def end: TagMod

    Permalink

    For grid layouts, aligns the content to the bottom of the grid area

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def flexEnd: TagMod

    Permalink

    The cross-end margin edge of the flex item is flushed with the cross-end edge of the line.

  17. final def flexStart: TagMod

    Permalink

    The cross-start margin edge of the flex item is flushed with the cross-start edge of the line.

  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Attr → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def start: TagMod

    Permalink

    For grid layouts, aligns the content to the top of the grid area.

  25. final def stretch: TagMod

    Permalink

    In flexbox layouts flex items are stretched such as the cross-size of the item's margin box is the same as the line while respecting width and height constraints.

    In flexbox layouts flex items are stretched such as the cross-size of the item's margin box is the same as the line while respecting width and height constraints.

    For grid layouts fills the whole height of the grid area (this is the default for them).

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

    Permalink
    Definition Classes
    AnyRef
  27. final def toString(): String

    Permalink
    Definition Classes
    Attr → AnyRef → Any
  28. final def wait(): Unit

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

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

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

Inherited from Style[String]

Inherited from Attr[String]

Inherited from AnyRef

Inherited from Any

Ungrouped