Package: closure-html

Function attribute

Lambda List

attribute (name value)


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

Return Value

the value


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