Closed trusch closed 9 years ago
It takes an js object (for example {foo: 'bar'}) and translates it to data-attributes in the resulting button. For the example the button would have a 'data-foo' property with the value 'bar'
It takes an js object (for example {foo: 'bar'}) and translates it to data-attributes in the resulting button. For the example the button would have a 'data-foo' property with the value 'bar'