QuoteTemplateHistoryLog Container
The QuoteTemplateHistoryLog container shows the complete history of changes and updates for a quote template.
Version: 1.1.2
Configuration
Section titled “Configuration”The QuoteTemplateHistoryLog container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
templateData | NegotiableQuoteTemplateModel | No | Template data object. Auto-populated from drop-in state when omitted. |
initialData | object | No | Preloaded data for the model before backend data is fetched. Use for testing, SSR, or improving initial load. |
This container does not expose any customizable slots.
The following example demonstrates how to use the QuoteTemplateHistoryLog container:
import { render as provider } from '@dropins/storefront-quote-management/render.js';import { QuoteTemplateHistoryLog } from '@dropins/storefront-quote-management/containers/QuoteTemplateHistoryLog.js';
// Omit templateData to use drop-in state. When passing from parent:const templateData = props.templateData;await provider.render(QuoteTemplateHistoryLog, { templateData,})(block);