object display extends Style[String]
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.
- Alphabetic
- By Inheritance
- display
- Style
- Attr
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=[A](a: A)(implicit t: ValueType[A, String]): TagMod
- Definition Classes
- Style → Attr
-
final
def
:=?[O[_], A](oa: O[A])(implicit O: OptionLike[O], t: ValueType[A, String]): TagMod
- Definition Classes
- Attr
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
val
attrName: String
- Definition Classes
- Attr
-
final
def
block: TagMod
The element generates a block element box.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(any: Any): Boolean
- Definition Classes
- Attr → AnyRef → Any
-
final
def
flex: TagMod
The element behaves like a block element and lays out its content according to the flexbox model.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
grid: TagMod
Behaves like a grid layout container
-
def
hashCode(): Int
- Definition Classes
- Attr → AnyRef → Any
-
final
def
inline: TagMod
The element generates one or more inline element boxes.
-
final
def
inline-block: TagMod
The element generates a block element box that will be flowed with surrounding content as if it were a single inline box.
-
final
def
inline-flex: TagMod
The element behaves like an inline element and lays out its content according to the flexbox model.
-
final
def
inline-table: TagMod
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
list-item: TagMod
The element generates a block box for the content and a separate list-item inline box.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
none: TagMod
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.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
table: TagMod
Behaves like the table HTML element.
Behaves like the table HTML element. It defines a block-level box.
-
final
def
table-caption: TagMod
Behaves like the caption HTML element.
-
final
def
table-cell: TagMod
Behaves like the td HTML element
-
final
def
table-column: TagMod
These elements behave like the corresponding col HTML elements.
-
final
def
table-column-group: TagMod
These elements behave like the corresponding colgroup HTML elements.
-
final
def
table-footer-group: TagMod
These elements behave like the corresponding tfoot HTML elements
-
final
def
table-header-group: TagMod
These elements behave like the corresponding thead HTML elements
-
final
def
table-row: TagMod
Behaves like the tr HTML element
-
final
def
table-row-group: TagMod
These elements behave like the corresponding tbody HTML elements
-
final
def
toString(): String
- Definition Classes
- Attr → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.