Intermediate step in creating a PropertyVar.
Convenience shortcut to append optional text to the class attribute based on a Signal[String].
Convenience shortcut to append optional text to the class attribute based on a Signal[String]. Note that multiple invocations of appendClass for the same element will override each other, so you should unify all the classes you may want to add in one appendClass invocation.
"input" #> appendClass(isValid map {v => Some("invalid") filter (_ => v) })
Returns a PropertyVarFactory.
Returns a PropertyVarFactory.
the property name of the DomProperty (used for javascript reads and writes)
the attribute name of the DomProperty (used for initial rendering of element)
PropertyVar(name, attrName)(init)
Returns a PropertVarFactory.
Returns a PropertVarFactory.
the attribute and property name of the DomProperty
PropertyVar(name)(init)
Convenience shortcut for PropertyVar("className", "class"), i.
Convenience shortcut for PropertyVar("className", "class"), i.e., returns a PropertyVarFactory for the className property / class attribute
An implicit conversion from PropertyVar to NodeSeq=>NodeSeq.
An implicit conversion from PropertyVar to NodeSeq=>NodeSeq. Requires an implicit Page. Calls render.
Convenience shortcut for PropertyVar("value"), i.
Convenience shortcut for PropertyVar("value"), i.e., returns a PropertyVarFactory for the value attribute/property