vel.setAttributes(attributes)
Take an attributes object with { attribute: value } pairs and assign them to vel.
attributes
{ attribute: value }