Last Visited Products
Documentation: Last Visited Products Component
Overview
Model Documentation
model
object is used to configure the component's appearance and behavior.Model Structure
String
A unique identifier for the component, used to set the
id
attribute of the carousel.String
Optional CSS class(es) for additional styling of the component.
String
The header text to be displayed at the top of the section.
Number
Determines the alignment of the header text. Possible values:
1
for left alignment2
for center alignment3
for right alignmentExample Model
{
"id": "last-visited-products",
"cssClass": "last-visited-products",
"header": "Recently Viewed Products",
"alignment": 2
}
Component Structure
1.
2.
3.
HTML Template
JavaScript
Explanation
tns
library with customizable options and default settings.Usage
1.
lastvisitedproductsdefault
in your Vue app.2.
3.