Package: closure-html

Function attribute

Lambda List

attribute (name value)

Arguments

  • name -- a string/rod
  • value -- a string/rod or other object

Return Value

the value

Details

Add an attribute to the current element.

To be used in the extent of an with-element invocation, this function adds an attribute to the element being serialized.
 

See also