list

object list extends Attr

Identifies a list of pre-defined options to suggest to the user. The value must be the <strong>id</strong> of a <a title="The HTML <datalist> element contains a set of <option> elements that represent the values available for other controls." href="/en-US/docs/Web/HTML/Element/datalist"><code><datalist></code></a> element in the same document. The browser displays only options that are valid values for this input element. This attribute is ignored when the <strong>type</strong> attribute's value is <code>hidden</code>, <code>checkbox</code>, <code>radio</code>, <code>file</code>, or a button type.

trait Attr
class Object
trait Matchable
class Any

Type members

Classlikes

object tag extends TagElement

Types

Inherited types

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

Value members

Concrete methods

@inline
def :=(v: String): AttrPair[_list_attr]
@inline
def :=(v: Option[String]): OptionalAttrPair[_list_attr]