You can pass in a Map to data-sly-attribute, that should do the trick.To set multiple attributes, pass a map object hold key-value pairs corresponding to the attributes and their values. For example, assuming,attrMap = { title: "myTitle", class: "myClass", id: "myId"}Then,<div data-sly-attr...