setAttribute method

  1. @DomName('Element.setAttribute')
  2. @DocsEditable()
void setAttribute(String name, String value)

Source

@DomName('Element.setAttribute')
@DocsEditable()
void setAttribute(String name, String value) =>
    _blink.BlinkElement.instance.setAttribute_Callback_2_(this, name, value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Element/setAttribute.html