You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetches an attribute using the passed-in identifier, which can be either the attribute's ID or the attribute's slug.
Example
constatrribute=getAttribute(client,"color");
API
constattribute=getAttribute(client,id);
client (SwellClient): The client returned from the `init` function.
id (string): Identifier for the attribute. Can be either the attribute's slug or the attribute's id.
The text was updated successfully, but these errors were encountered:
Fetches an attribute using the passed-in identifier, which can be either the attribute's ID or the attribute's slug.
Example
API
The text was updated successfully, but these errors were encountered: