attr function
Used with elementOpenStart and elementOpenEnd to declare an element.
Sets an attribute with name
and value
.
Implementation
void attr(String name, Object value) => _incDom.callMethod('attr', <Object>[name, value]);
Used with elementOpenStart and elementOpenEnd to declare an element.
Sets an attribute with name
and value
.
void attr(String name, Object value) => _incDom.callMethod('attr', <Object>[name, value]);