Object

scalatags.generic.Styles

display

Related Doc: package Styles

Permalink

object display extends Style

The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.

In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn't exist in the document tree.

MDN

Linear Supertypes
Style, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. display
  2. Style
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. 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 :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

    Permalink

    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.

    Definition Classes
    Style
  4. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  6. lazy val block: StylePair[Builder, String]

    Permalink

    The element generates a block element box.

    The element generates a block element box.

    MDN

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. val cssName: String

    Permalink
    Definition Classes
    Style
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. lazy val flex: StylePair[Builder, String]

    Permalink

    The element behaves like a block element and lays out its content according to the flexbox model.

    The element behaves like a block element and lays out its content according to the flexbox model.

    MDN

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. lazy val inline: StylePair[Builder, String]

    Permalink

    The element generates one or more inline element boxes.

    The element generates one or more inline element boxes.

    MDN

  13. lazy val inline-block: StylePair[Builder, String]

    Permalink

    The element generates a block element box that will be flowed with surrounding content as if it were a single inline box.

    The element generates a block element box that will be flowed with surrounding content as if it were a single inline box.

    MDN

  14. lazy val inline-flex: StylePair[Builder, String]

    Permalink

    The element behaves like an inline element and lays out its content according to the flexbox model.

    The element behaves like an inline element and lays out its content according to the flexbox model.

    MDN

  15. lazy val inline-table: StylePair[Builder, String]

    Permalink

    The inline-table value does not have a direct mapping in HTML.

    The inline-table value does not have a direct mapping in HTML. It behaves like a table HTML element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context

    MDN

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val jsName: String

    Permalink
    Definition Classes
    Style
  18. lazy val list-item: StylePair[Builder, String]

    Permalink

    The element generates a block box for the content and a separate list-item inline box.

    The element generates a block box for the content and a separate list-item inline box.

    MDN

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. lazy val none: StylePair[Builder, String]

    Permalink

    Turns off the display of an element (it has no effect on layout); all descendant elements also have their display turned off.

    Turns off the display of an element (it has no effect on layout); all descendant elements also have their display turned off. The document is rendered as though the element did not exist.

    To render an element box's dimensions, yet have its contents be invisible, see the visibility property.

    MDN

  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. lazy val table: StylePair[Builder, String]

    Permalink

    Behaves like the table HTML element.

    Behaves like the table HTML element. It defines a block-level box.

    MDN

  25. lazy val table-caption: StylePair[Builder, String]

    Permalink

    Behaves like the caption HTML element.

    Behaves like the caption HTML element.

    MDN

  26. lazy val table-cell: StylePair[Builder, String]

    Permalink

    Behaves like the td HTML element

    Behaves like the td HTML element

    MDN

  27. lazy val table-column: StylePair[Builder, String]

    Permalink

    These elements behave like the corresponding col HTML elements.

    These elements behave like the corresponding col HTML elements.

    MDN

  28. lazy val table-column-group: StylePair[Builder, String]

    Permalink

    These elements behave like the corresponding colgroup HTML elements.

    These elements behave like the corresponding colgroup HTML elements.

    MDN

  29. lazy val table-footer-group: StylePair[Builder, String]

    Permalink

    These elements behave like the corresponding tfoot HTML elements

    These elements behave like the corresponding tfoot HTML elements

    MDN

  30. lazy val table-header-group: StylePair[Builder, String]

    Permalink

    These elements behave like the corresponding thead HTML elements

    These elements behave like the corresponding thead HTML elements

    MDN

  31. lazy val table-row: StylePair[Builder, String]

    Permalink

    Behaves like the tr HTML element

    Behaves like the tr HTML element

    MDN

  32. lazy val table-row-group: StylePair[Builder, String]

    Permalink

    These elements behave like the corresponding tbody HTML elements

    These elements behave like the corresponding tbody HTML elements

    MDN

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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 Style

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped