DCOfferConfigurations

DCOfferConfigurations

c-dc-offer-configurations is a web component that is used to display offer attributes that are non configurable.

Features
1.Display non configurable offer attribute

Constructor

new DCOfferConfigurations()

Properties:
Name Type Description
offerAttribute OfferAttributeObject non configurable attribute of an offer.
Properties
Name Type Description
attributeId String indicates attribute id.
inputType String indicates input type.
label String indicates attribute label.
multiselect String
userValues String
values Array.<OfferAttributeValueObject>
Properties
Name Type Description
defaultValue String attribute default value.
disabled String is attribute disabled.
readonly String indicates if attribute is read only.
value String indicates attribute value.
Example
Sample Usage -

Include the component in your template simply by adding c-dc-offer-configurations HTML tag
<c-dc-offer-configurations attributes={offerAttribute}></c-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 - c-dc-offer-configurations is an independent component and have no dependency on parent or child components.

               | Parent Component | Child Components |
               |------------------|------------------|
               | none             | none             | 

Sample with slots -

<c-dc-offer-configurations>
   <span slot="{slot_name}">
     Custom HTML elements goes here
   </span>
</c-dc-offer-configurations>

List of available slots -

| Slot names                      | Dynamic     | Description                 | Impact               |
|---------------------------------|-------------|-----------------------------|----------------------|
| dc-offer-configurations-wrapper | -           | Wrapper                     | Replaces DOM         |

Extends