Methods
Static
changeCfgnValue
- changeCfgnValue(values: CfgnValue | CfgnValue[], callback?: Function, defer?: boolean): void
-
Parameters
-
-
Optional
callback: Function
-
Optional
defer: boolean
Returns void
Static
checkout
- checkout(shopInput?: string, callback?: Function, errorCallback?: Function): void
-
Parameters
-
Optional
shopInput: string
-
Optional
callback: Function
-
Optional
errorCallback: Function
Returns void
Static
generateCustomId
- generateCustomId(callback: ((customId: string) => void), errorCallback?: Function): void
-
Parameters
-
callback: ((customId: string) => void)
-
- (customId: string): void
-
Returns void
-
Optional
errorCallback: Function
Returns void
Static
sendMail
- sendMail(subject: string, body: string, from: MailAddress, to: MailAddress[], cc: MailAddress[], bcc: MailAddress[], attachments?: MailAttachments[], callback?: Function, errorCallback?: Function): void
-
Parameters
-
subject: string
-
body: string
-
-
-
-
-
-
Optional
callback: Function
-
Optional
errorCallback: Function
Returns void
Static
startSpecificationResourceUpload
- startSpecificationResourceUpload(cmpName: string, resourceName: string, fileExtension: string, callback?: Function, errorCallback?: Function): void
-
Parameters
-
cmpName: string
-
resourceName: string
-
fileExtension: string
-
Optional
callback: Function
-
Optional
errorCallback: Function
Returns void
Generates a custom ID for the current configuration.
Can be used in configurator previews as well, but always returns the same custom ID there.
Note
Before this can be used, custom IDs need to be activated once for the configurator.
Activation is done via setupCustomId or setupShuffledCustomId.