ostrat.pWeb

package ostrat.pWeb

I'm just trying out a new package, not sure whether will use pWeb.

Type members

Classlikes

case class CssBGColour(colour: Colour) extends CssDec

CSS background-color property.

CSS background-color property.

case class CssBody(props: Arr[CssDec]) extends CssRule

CSS rule for the body.

CSS rule for the body.

trait CssDec

CSS declaration

CSS declaration

case class CssFontSize(valueStr: String) extends CssDec
case class CssH1(props: Arr[CssDec]) extends CssRule

CSS rule for the H1 header.

CSS rule for the H1 header.

trait CssRule

Css Rule consisting of selector plus a set of declarations.

Css Rule consisting of selector plus a set of declarations.

case class CssTextAlign(align: TextAlign) extends CssDec
case class HtmlBody(contentStr: String) extends HtmlUnvoid

The HTML body element.

The HTML body element.

case class HtmlCode(contentStr: String, attribs: Arr[XmlAtt]) extends HtmlUnvoid

An HTML code element.

An HTML code element.

class HtmlCssLink(val fullFileName: String) extends HtmlVoid
Companion:
object
Companion:
class
trait HtmlElem extends XmlElemLike

HTML element.

HTML element.

case class HtmlHead(contents: Arr[XCon], attribs: Arr[XmlAtt]) extends HtmlUnvoid

HTML head element.

HTML head element.

Companion:
object
object HtmlHead

Companion object for the HtmlHead case class.

Companion object for the HtmlHead case class.

Companion:
class
case class HtmlHtml(head: HtmlHead, body: HtmlBody, attribs: Arr[XmlAtt]) extends HtmlUnvoid

The "html" HTML element

The "html" HTML element

trait HtmlMeta extends HtmlVoid

HTML meta element.

HTML meta element.

case class HtmlPage(head: HtmlHead, body: HtmlBody)

An HTML page, contains a head and a body element

An HTML page, contains a head and a body element

Companion:
object
object HtmlPage

Companion object for the HtmlHead class.

Companion object for the HtmlHead class.

Companion:
class
case class HtmlTitle(str: String, attribs: Arr[XmlAtt]) extends HtmlUnvoid

HTML title element.

HTML title element.

trait HtmlUnvoid extends HtmlElem

An HTML element that is not void.

An HTML element that is not void.

object HtmlUtf8 extends HtmlMeta

HTML charset='UTF-8' meta element.

HTML charset='UTF-8' meta element.

object HtmlViewDevWidth extends HtmlMeta

Creates the meta element

Creates the meta element

sealed trait HtmlVoid extends HtmlElem

trait for HTML Void elements such as br img and input.

trait for HTML Void elements such as br img and input.

implicit implicit class StringExtension(thisString: String)
trait XANumeric extends XmlAtt

An Xml numeric attribute.

An Xml numeric attribute.

Companion:
object
object XANumeric
Companion:
class
trait XCon

Content for XML and HTML elements.

Content for XML and HTML elements.

case class XConStr(value: String) extends XCon

XConStr is a wrapper to convert Strings to XCon, XML Element content.

XConStr is a wrapper to convert Strings to XCon, XML Element content.

Companion:
object
object XConStr
Companion:
class
trait XmlAtt

An XML / HTML attribute, has a name and a value Strings.

An XML / HTML attribute, has a name and a value Strings.

Companion:
object
object XmlAtt

Companion object for the XML attribute XmlAtt trait.

Companion object for the XML attribute XmlAtt trait.

Companion:
class
trait XmlElem extends XmlElemLike

An XML element.

An XML element.

trait XmlElemLike extends XCon

An XML or an HTML element

An XML or an HTML element

Value members

Concrete methods

def tagVoidStr(tagName: String, attribs: XmlAtt*): String
def tagVoidStr(tagName: String, attribs: Arr[XmlAtt]): String

Implicits

Implicits

final implicit def StringExtension(thisString: String): StringExtension