Selector

scalatags.stylesheet.Selector
See theSelector companion object
class Selector(val built: Seq[String]) extends PseudoSelectors[Selector]

Lets you chain pseudo-selectors e.g. hover.visited and have it properly translate into :hover:visited when rendered.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def >(other: Selector): Selector

Combine these two selectors using the > child selector, which prevents cascading.

Combine these two selectors using the > child selector, which prevents cascading.

Attributes

Builds this selector into a StyleTree using the given StyleSheetFrags. This doesn't create a Cls on its own, but can be used as part of the definition of an outer Cls.

Builds this selector into a StyleTree using the given StyleSheetFrags. This doesn't create a Cls on its own, but can be used as part of the definition of an outer Cls.

Attributes

def pseudoExtend(s: String): Selector
def ~(other: Selector): Selector

Combine these two selectors, allowing the right-hand-side selector to cascade.

Combine these two selectors, allowing the right-hand-side selector to cascade.

Attributes

Inherited methods

def active: T

Attributes

Inherited from:
PseudoSelectors
def checked: T

Attributes

Inherited from:
PseudoSelectors
def default: T

Attributes

Inherited from:
PseudoSelectors
def disabled: T

Attributes

Inherited from:
PseudoSelectors
def empty: T

Attributes

Inherited from:
PseudoSelectors
def enabled: T

Attributes

Inherited from:
PseudoSelectors
def first: T

Attributes

Inherited from:
PseudoSelectors
def firstChild: T

Attributes

Inherited from:
PseudoSelectors
def firstOfType: T

Attributes

Inherited from:
PseudoSelectors
def focus: T

Attributes

Inherited from:
PseudoSelectors
def fullscreen: T

Attributes

Inherited from:
PseudoSelectors
def hover: T

Attributes

Inherited from:
PseudoSelectors
def inRange: T

Attributes

Inherited from:
PseudoSelectors
def indeterminate: T

Attributes

Inherited from:
PseudoSelectors
def invalid: T

Attributes

Inherited from:
PseudoSelectors
def lastChild: T

Attributes

Inherited from:
PseudoSelectors
def lastOfType: T

Attributes

Inherited from:
PseudoSelectors
def left: T

Attributes

Inherited from:
PseudoSelectors
def onlyChild: T

Attributes

Inherited from:
PseudoSelectors
def onlyOfType: T

Attributes

Inherited from:
PseudoSelectors
def optional: T

Attributes

Inherited from:
PseudoSelectors
def outOfRange: T

Attributes

Inherited from:
PseudoSelectors
def readOnly: T

Attributes

Inherited from:
PseudoSelectors
def readWrite: T

Attributes

Inherited from:
PseudoSelectors
def required: T

Attributes

Inherited from:
PseudoSelectors
def right: T

Attributes

Inherited from:
PseudoSelectors
def root: T

Attributes

Inherited from:
PseudoSelectors
def scope: T

Attributes

Inherited from:
PseudoSelectors
def target: T

Attributes

Inherited from:
PseudoSelectors
def valid: T

Attributes

Inherited from:
PseudoSelectors
def visited: T

Attributes

Inherited from:
PseudoSelectors

Concrete fields

val built: Seq[String]