Class DesignListItemFacade
Identification Accessors
The ID of the referenced server-side design.
The ID of the referenced server-side design version.
Data Accessors
The name of the design. This is the basename of the file by default or a custom name provided during design import.
The status of the server-side design processing.
Server Side Design File Usage Methods
Fetches a previously imported design at the version (the Id of which is accessible via versionId) from the API.
The API has to be configured when using this method. Local caching is established in case the local cache is configured.
Example:
const design = await designListItem.fetchDesign()
// Continue working with the processed design
const artboards = design.getArtboards()
Parameters:
Options.
A cancellation token which aborts the asynchronous operation. When the token is cancelled, the promise is rejected and side effects are not reverted (e.g. the local cache is not cleared once created). A cancellation token can be created via createCancelToken.
A design object which can be used for retrieving data from the design using the API.
Was this article helpful?