CssMedia

ostrat.pWeb.CssMedia
abstract class CssMedia(val queryStr: String) extends CssRulesHolder, CssRuleLike

CSS media query.

Attributes

Graph
Supertypes
trait CssRuleLike
trait XConElem
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

override def rules: RArr[CssRule]

The CSS rules.

The CSS rules.

Attributes

Definition Classes

Concrete methods

override def isMultiLine: Boolean

Outputs to a single line if the rule has 2 or more declarations.

Outputs to a single line if the rule has 2 or more declarations.

Attributes

Definition Classes
override def out(indent: Int, line1InputLen: Int, maxLineLen: Int): String

The CSS output.

The CSS output.

Attributes

Definition Classes

Inherited methods

def outLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines

This method returns the HTML output code, but also information for the parent XML / HTML element. The class should not add any indentation to its first line. This is the responsibility of the parent element.

This method returns the HTML output code, but also information for the parent XML / HTML element. The class should not add any indentation to its first line. This is the responsibility of the parent element.

Attributes

Inherited from:
XConElem
def rulesOut(indent: Int): String

Attributes

Inherited from:
CssRulesHolder

Concrete fields