The wallpaper frame object, that can be used to manipulate the widget

Constructors

Properties

setArticleNumberAsync: ((articleNumber: string) => Promise<void>)

Sets the article number and refreshes the iframe

setWallWidthAsync: ((wallWidth: number) => Promise<void>)

Sets the wall width

setWallHeightAsync: ((wallHeight: number) => Promise<void>)

Sets the wall height

setWallSizeAsync: ((wallWidth: number, wallHeight: number) => Promise<void>)

Sets the wall width and height

getPriceAsync: (() => Promise<PriceModel>)

Fetches the total calculated price based on the given unit price and the wall size

getCutoutUrlAsync: (() => Promise<string>)

Fetches the cutout url to the actual product page with the current selection and properties

getAddToCartDataAsync: (() => Promise<AddToCartEvent>)

Returns the complete AddToCart event data, as if the buy button was pressed

getWallHeights: (() => number[])

Returns all valid wall heights, in an ascending ordered array

getWallWidths: (() => number[])

Returns all valid wall widths, in an ascending ordered array