All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.raquo.laminar.defs.styles.traits.FlexWrap.scala Maven / Gradle / Ivy

The newest version!
package com.raquo.laminar.defs.styles.traits

import com.raquo.laminar.keys.StyleProp
import com.raquo.laminar.modifiers.KeySetter.StyleSetter

// #NOTE: GENERATED CODE
//  - This file is generated at compile time from the data in Scala DOM Types
//  - See `project/DomDefsGenerator.scala` for code generation params
//  - Contribute to https://github.com/raquo/scala-dom-types to add missing tags / attrs / props / etc.

trait FlexWrap { this: StyleProp[_] =>

  /**
    * The flex items are laid out in a single line which may cause the
    * flex container to overflow. The cross-start is either equivalent
    * to start or before depending flex-direction value.
    */
  lazy val nowrap: StyleSetter = this := "nowrap"

  /**
    * The flex items break into multiple lines. The cross-start is
    * either equivalent to start or before depending flex-direction
    * value and the cross-end is the opposite of the specified
    * cross-start.
    */
  lazy val wrap: StyleSetter = this := "wrap"

  /**
    * Behaves the same as wrap but cross-start and cross-end are
    * permuted.
    */
  lazy val wrapReverse: StyleSetter = this := "wrap-reverse"

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy