Returns
Object map indicating the attributes you’d like to use for your component’s wrapper.
Effect
By default the ErML engine will pass through any attributes of your component to the wrapper when printing out the HTML. You may wish to change this behavior.
For example, if your component has an attribute called color, you may wish to turn that into a class name (like class="btn-*your color attribute*") when outputting the HTML.
You could affect this by returning the map {"class": "btn-colorname"} (with the colorname being replaced by the value of your component’s color attribute).