Basket Large Component

The Basket Large component is a large version of the basket widget.

<basket-large></basket-large>

From here, the user can view what’s currently in their basket as well as remove items.

Configuration options

The following configuration options are currently available for the Large Basket Widget:

template
This is which version of the widget is used. Default value is set to 1.

loading-panel
This is a boolean value that will detemine whether or not a loading panel will show over the component while its initialising and doing initial API calls. The default value is false.

min-height
Min-height is the minimum height of the component in px. Important to set a value here if you want the loading panels to look good. Default value is 0.

show-tyre-slot-description
This is a boolean value that will show or hide the description of the tyre slot type specifically.

allow-delete
This is a boolean value that will show or hide the trash button against each basket item. The default is true.

Example code

<basket-large loading-panel="true" template="1" min-height="300"></basket-large>

Updated on February 8, 2018

Was this article helpful?

Related Articles