Html

calico.html.Html
See theHtml companion object
sealed trait Html[F[_]](using F: Async[F])

Attributes

Companion:
object
Source:
Html.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object io.type

Members list

Concise view

Value members

Concrete methods

def aria: Aria[F]

Attributes

Source:
Html.scala

Attributes

Source:
Html.scala
def children[K](f: K => Resource[F, Node[F]]): KeyedChildren[F, K]

Attributes

Source:
Html.scala
def cls: ClassProp[F]

Attributes

Source:
Html.scala
def dataAttr(suffix: String): HtmlAttr[F, String]

Attributes

Source:
Html.scala

Attributes

Source:
Html.scala

Attributes

Source:
Html.scala

Inherited methods

protected def boolAsOnOffHtmlAttr(key: String): HtmlAttr[F, Boolean]

Attributes

Inherited from:
HtmlAttrs (hidden)
Source:
HtmlAttrs.scala

Attributes

Inherited from:
HtmlAttrs (hidden)
Source:
HtmlAttrs.scala
protected def boolProp(key: String): Prop[F, Boolean, Boolean]

Attributes

Inherited from:
Props (hidden)
Source:
Props.scala
protected def doubleProp(key: String): Prop[F, Double, Double]

Attributes

Inherited from:
Props (hidden)
Source:
Props.scala
protected def intHtmlAttr(key: String): HtmlAttr[F, Int]

Attributes

Inherited from:
HtmlAttrs (hidden)
Source:
HtmlAttrs.scala
protected def intProp(key: String): Prop[F, Int, Int]

Attributes

Inherited from:
Props (hidden)
Source:
Props.scala
protected def stringHtmlAttr(key: String): HtmlAttr[F, String]

Attributes

Inherited from:
HtmlAttrs (hidden)
Source:
HtmlAttrs.scala
protected def stringProp(key: String): Prop[F, String, String]

Attributes

Inherited from:
Props (hidden)
Source:
Props.scala

Inherited fields

lazy val `type`: HtmlAttr[F, String]

This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format. You can use tpe as an alias for this attribute so you don't have to backtick-escape this attribute.

This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format. You can use tpe as an alias for this attribute so you don't have to backtick-escape this attribute.

Attributes

See also:
Inherited from:
HtmlAttrs (hidden)
Source:
HtmlAttrs.scala
lazy val a: HtmlTag[F, HtmlAnchorElement[F]]

Represents a hyperlink, linking to another resource.

Represents a hyperlink, linking to another resource.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val abbr: HtmlTag[F, HtmlElement[F]]

An abbreviation or acronym; the expansion of the abbreviation can be represented in the title attribute.

An abbreviation or acronym; the expansion of the abbreviation can be represented in the title attribute.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val accept: Prop[F, String, String]

If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored.

If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored.

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala
lazy val accessKey: Prop[F, String, String]

Specifies a shortcut key to activate/focus an element

Specifies a shortcut key to activate/focus an element

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala
lazy val action: Prop[F, String, String]

The URI of a program that processes the information submitted via the form. This value can be overridden by a formAction attribute on a button or input element.

The URI of a program that processes the information submitted via the form. This value can be overridden by a formAction attribute on a button or input element.

Only applies to FormTags.form

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala
lazy val addressTag: HtmlTag[F, HtmlElement[F]]

Defines a section containing contact information.

Defines a section containing contact information.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val alt: Prop[F, String, String]

This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.

This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala

In conjunction with map, defines an image map

In conjunction with map, defines an image map

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val articleTag: HtmlTag[F, HtmlElement[F]]

Defines self-contained content that could exist independently of the rest of the content.

Defines self-contained content that could exist independently of the rest of the content.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val asideTag: HtmlTag[F, HtmlElement[F]]

Defines some content loosely related to the page content. If it is removed, the remaining content still makes sense.

Defines some content loosely related to the page content. If it is removed, the remaining content still makes sense.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala

Represents a sound or an audio stream.

Represents a sound or an audio stream.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala

This is a nonstandard attribute used by Chrome and iOS Safari Mobile, which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user.

This is a nonstandard attribute used by Chrome and iOS Safari Mobile, which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user.

Possible values: "none" | "sentences" | "words" | "characters"

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala

This attribute indicates whether the value of the control can be automatically completed by the browser. This attribute is ignored if the value of the type attribute is hidden, checkbox, radio, file, or a button type (button, submit, reset, image).

This attribute indicates whether the value of the control can be automatically completed by the browser. This attribute is ignored if the value of the type attribute is hidden, checkbox, radio, file, or a button type (button, submit, reset, image).

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala
lazy val autoFocus: Prop[F, Boolean, Boolean]

This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autofocus attribute, which is a Boolean. It cannot be applied if the type attribute is set to hidden (that is, you cannot automatically set focus to a hidden control).

This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autofocus attribute, which is a Boolean. It cannot be applied if the type attribute is set to hidden (that is, you cannot automatically set focus to a hidden control).

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala
lazy val b: HtmlTag[F, HtmlElement[F]]

Bold text.

Bold text.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala

Defines the base URL for relative URLs in the page.

Defines the base URL for relative URLs in the page.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val bdi: HtmlTag[F, HtmlElement[F]]

Represents text that must be isolated from its surrounding for bidirectional text formatting. It allows embedding a span of text with a different, or unknown, directionality.

Represents text that must be isolated from its surrounding for bidirectional text formatting. It allows embedding a span of text with a different, or unknown, directionality.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val bdo: HtmlTag[F, HtmlElement[F]]

Represents the directionality of its children, in order to explicitly override the Unicode bidirectional algorithm.

Represents the directionality of its children, in order to explicitly override the Unicode bidirectional algorithm.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala

Represents a content that is quoted from another source.

Represents a content that is quoted from another source.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala

Represents the content of an HTML document. There is only one body element in a document.

Represents the content of an HTML document. There is only one body element in a document.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val br: HtmlTag[F, HtmlBrElement[F]]

Represents a line break.

Represents a bitmap area that scripts can use to render graphics like graphs, games or any visual images on the fly.

Represents a bitmap area that scripts can use to render graphics like graphs, games or any visual images on the fly.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val charset: HtmlAttr[F, String]

Declares the character encoding of the page or script. Used on meta and script elements.

Declares the character encoding of the page or script. Used on meta and script elements.

Attributes

See also:
Inherited from:
HtmlAttrs (hidden)
Source:
HtmlAttrs.scala
lazy val checked: Prop[F, Boolean, Boolean]

When the value of the type attribute is "radio" or "checkbox", this property determines whether it is checked or not. This is different from checked attribute, which contains the initial checked status of the element. More info: https://stackoverflow.com/a/6004028/2601788 (checked behaves similar to value)

When the value of the type attribute is "radio" or "checkbox", this property determines whether it is checked or not. This is different from checked attribute, which contains the initial checked status of the element. More info: https://stackoverflow.com/a/6004028/2601788 (checked behaves similar to value)

See also: defaultChecked prop / attribute

Attributes

Inherited from:
Props (hidden)
Source:
Props.scala
lazy val cite: HtmlTag[F, HtmlElement[F]]

Represents the title of a work being cited.

Represents the title of a work being cited.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val code: HtmlTag[F, HtmlElement[F]]

Represents computer code.

Represents computer code.

Attributes

See also:
Inherited from:
HtmlTags (hidden)
Source:
HtmlTags.scala
lazy val colSpan: Prop[F, Int, Int]

This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1; if its value is set to 0, it extends until the end of the , even if implicitly defined, that the cell belongs to. Values higher than 1000 will be considered as incorrect and will be set to the default value (1).

This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1; if its value is set to 0, it extends until the end of the , even if implicitly defined, that the cell belongs to. Values higher than 1000 will be considered as incorrect and will be set to the default value (1).

Attributes

See also:
Inherited from:
Props (hidden)
Source:
Props.scala
lazy val cols: Prop[F, Int, Int]

The visible width of text input or