Sample Usage -
Include the component in your template simply by adding vlocity-dc-offer-config custom tag
<vlocity-dc-offer-configurations .offerAttribute="${attribute}"></vlocity-dc-offer-configurations>
| Attribute Name | Type Expected | Required |
|-------------------|---------------------------------------------------------------------------------|----------|
| offerAttribute | It expects value in OfferAttributeObject format | required |
--------------------------------------------------------------------------------------------------------------------------------------
KEY INFO -
events fired : none
events registered :none
Dependency - vlocity-dc-offer-configurations is an independent component and have no dependency on parent component.
| Parent Component | Expected Child Component |
|------------------|---------------------------|
| none | none |
Sample with slots -
<vlocity-dc-offer-configurations>
<span slot="{slot_name}">
Custom HTML elements goes here
</span>
</vlocity-dc-offer-configurations>
List of available slots -
| Slot names | Dynamic | Description | Impact |
|---------------------------------|-------------|----------------------------------------------------|
| dc-offer-configurations-wrapper | - | Wrapper for template | Replaces DOM |
Extends
LitElement
Members
(static, readonly) properties
Properties that will be available in the binding system