accept

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

form - A comma-separated list of content types that the server accepts.

Usage note: This attribute has been removed in HTML5 and should no longer be used. Instead, use the accept attribute of the specific <input> element. input - If the value of the type attribute is file, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers:

  • A file extension starting with the STOP character (U+002E). (e.g. .jpg, .png, .doc).
  • A valid MIME type with no extensions.
  • audio// representing sound files. HTML5
  • video// representing video files. HTML5
  • image// representing image files. HTML5

Attributes

Graph
Supertypes
trait Attr
class Object
trait Matchable
class Any
Self type
accept.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

Inherited types

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

Attributes

Inherited from:
Attr

Value members

Concrete methods

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