id

slinky.web.html.id$
object id extends Attr

Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).

Attributes

Graph
Supertypes
trait Attr
class Object
trait Matchable
class Any
Self type
id.type

Members list

Concise view

Type members

Classlikes

object tag extends TagElement

Attributes

Graph
Supertypes
class TagElement
class Object
trait Matchable
class Any
Self type
tag.type

Types

type attrType = _id_attr.type

Inherited types

type supports[T <: Tag] = AttrPair[attrType] => AttrPair[tagType]

Attributes

Inherited from:
Attr

Value members

Concrete methods

def :=(v: String): AttrPair[_id_attr.type]
def :=(v: Option[String]): OptionalAttrPair[_id_attr.type]