overflow

scalatags.generic.Styles.overflow
object overflow

The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element.

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
overflow.type

Members list

Value members

Inherited methods

def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

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.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

lazy val auto: StylePair[Builder, String]

Depends on the user agent. Desktop browsers like Firefox provide scrollbars if content overflows.

Depends on the user agent. Desktop browsers like Firefox provide scrollbars if content overflows.

MDN

Attributes

Inherited from:
Overflow (hidden)
lazy val hidden: StylePair[Builder, String]

The content is clipped and no scrollbars are provided.

The content is clipped and no scrollbars are provided.

MDN

Attributes

Inherited from:
Overflow (hidden)
lazy val scroll: StylePair[Builder, String]

The content is clipped and desktop browsers use scrollbars, whether or not any content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. Printers may print overflowing content.

The content is clipped and desktop browsers use scrollbars, whether or not any content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. Printers may print overflowing content.

MDN

Attributes

Inherited from:
Overflow (hidden)
lazy val visible: StylePair[Builder, String]

Default value. Content is not clipped, it may be rendered outside the content box.

Default value. Content is not clipped, it may be rendered outside the content box.

MDN

Attributes

Inherited from:
Overflow (hidden)