HtmlViewDevWidth

ostrat.pWeb.HtmlViewDevWidth
object HtmlViewDevWidth extends HtmlMeta

Creates the meta element name="viewport" content="width=device-width,initial-scale=1.0"

Attributes

Graph
Supertypes
trait HtmlMeta
trait HtmlVoid
trait HtmlElem
trait XHmlElem
trait XConElem
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def attribs: RArr[XAtt]

The attributes of this XML / HTML element.

The attributes of this XML / HTML element.

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
XHmlElem
def attribsOutLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines

Attributes

Inherited from:
XHmlElem

Attributes

Inherited from:
XHmlElem
final override def contents: RArr[XConElem]

The content of this XML / HTML element.

The content of this XML / HTML element.

Attributes

Definition Classes
Inherited from:
HtmlVoid

Attributes

Inherited from:
XHmlElem

Attributes

Inherited from:
XHmlElem
def openAtts(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XHmlElem
def openTag(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XHmlElem

The full length of the opening tag without attributes.

The full length of the opening tag without attributes.

Attributes

Inherited from:
XHmlElem

The length of the < character plus the tag.

The length of the < character plus the tag.

Attributes

Inherited from:
XHmlElem
def openUnclosed(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XHmlElem
override def out(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context. This will generally use the outLines method for its implementation.

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context. This will generally use the outLines method for its implementation.

Attributes

Definition Classes
Inherited from:
HtmlVoid
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
override def tag: String

The XML /HTML tag String. A tag is a markup construct that begins with < and ends with >

The XML /HTML tag String. A tag is a markup construct that begins with < and ends with >

Attributes

Definition Classes
Inherited from:
HtmlMeta
def tagLen: Int

The number of characters in the tag. This is useful for calculating new lines in multi line elements.

The number of characters in the tag. This is useful for calculating new lines in multi line elements.

Attributes

Inherited from:
XHmlElem

Concrete fields

val content: XAtt
val viewPort: XAtt