v1.0
Set Attributes
A utility prefab that allows you set the attributes of any parent layer or parent component frame.
Allows you to set html attributes of any parent layer or component.
No code required
Use the Prefab: Drag the prefab on to the canvas.
Connect: Nest within a component or layer. If it is not in a component set is Component to false. Add any valid html attribute to the array with the name and value.
Done: That is it! You are all set to use this prefab.
Things to consider when using the list prefab:
Avoid using the wrong attributes: While this prefab can accept any attribute be sure to still think about the semantics of your component.
Property
Description
ID
Will set the id of any layer or component.
Is Component
Sets if the prefab is nested in a component or not. If it is not it will set the first div after its parent the attributes.
Attributes
An array of valid html attributes name:value