Placeholder

olon.http.Html5ElemAttr.Placeholder
final case class Placeholder(text: StringFunc) extends ElemAttr

The placeholder attribute for HTML5.

Value parameters

text

- a String or () => String that will be the placeholder property in the attribute

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ElemAttr
trait Elem => Elem
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(in: Elem): Elem

Apply the attribute to the element

Apply the attribute to the element

Attributes

Inherited methods

def andThen[A](g: Elem => A): Elem => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Elem): A => Elem

Attributes

Inherited from:
Function1

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1