Skip to content

Commit 9fe6f99

Browse files
committed
Updating insertCallToAction object to be consistent with API.creat(), and switching some content to single quotes to be more consistent
1 parent 21829e1 commit 9fe6f99

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

source/includes/_events.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -75,59 +75,59 @@ Field Key | Example Value | Field Format
7575
7676
```javascript
7777
{
78-
accountId: "futuredemodealer",
78+
accountId: 'futuredemodealer',
7979
address: {
80-
accountName: "ROI Motors",
81-
city: "Burlington",
82-
state: "VT",
83-
postalCode: "05401",
84-
country: "US"
80+
accountName: 'ROI Motors',
81+
city: 'Burlington',
82+
state: 'VT',
83+
postalCode: '05401',
84+
country: 'US'
8585
},
86-
autodataCaId: "1234567",
87-
bodyStyle: "SUV",
86+
autodataCaId: '1234567',
87+
bodyStyle: 'SUV',
8888
certified: false,
89-
chromeId: "411601",
89+
chromeId: '411601',
9090
cityFuelEconomy: 28,
91-
classification: "primary",
91+
classification: 'primary',
9292
dealerCodes: {
93-
"dealertrack-post": "futuredemodealer",
94-
dtid: "12345",
95-
"dt-dr-profile": "futuredemodealer",
96-
affiliate_promotions: "avis",
97-
"at-kbb": "12345678"
93+
'dealertrack-post': 'futuredemodealer',
94+
dtid: '12345',
95+
'dt-dr-profile': 'futuredemodealer',
96+
affiliate_promotions: 'avis',
97+
'at-kbb': '12345678'
9898
},
99-
driveLine: "Front-wheel Drive",
100-
engine: "I-4 cyl",
101-
engineSize: "1.5L",
102-
exteriorColor: "Crystal Black Pearl",
99+
driveLine: 'Front-wheel Drive',
100+
engine: 'I-4 cyl',
101+
engineSize: '1.5L',
102+
exteriorColor: 'Crystal Black Pearl',
103103
finalPrice: 32000,
104-
fuelType: "Regular Unleaded",
104+
fuelType: 'Regular Unleaded',
105105
highestPrice: 34500,
106106
highwayFuelEconomy: 34,
107107
images: [
108-
"https://pictures.dealer.com/f/futuredemodealer/1182/0686eb936bd7a4905f751493cc28dcb9x.jpg"
108+
'https://pictures.dealer.com/f/futuredemodealer/1182/0686eb936bd7a4905f751493cc28dcb9x.jpg'
109109
],
110110
internetPrice: 33000,
111-
interiorColor: "White",
112-
inventoryType: "new",
113-
link: "https://www.roimotors.com/new/Honda/2020-Honda-Accord-burlington-ab119e0e0a0a00f944d6f3031cd34854.htm",
114-
make: "Honda",
115-
model: "CR-V",
116-
modelCode: "RW1H9LKNW",
111+
interiorColor: 'White',
112+
inventoryType: 'new',
113+
link: 'https://www.roimotors.com/new/Honda/2020-Honda-Accord-burlington-ab119e0e0a0a00f944d6f3031cd34854.htm',
114+
make: 'Honda',
115+
model: 'CR-V',
116+
modelCode: 'RW1H9LKNW',
117117
msrp: 34000,
118118
odometer: 3,
119119
optionCodes: [
120-
"ABC",
121-
"123",
122-
"321"
120+
'ABC',
121+
'123',
122+
'321'
123123
],
124124
startingPrice: 34000,
125-
status: "live",
126-
stockNumber: "00100060",
127-
transmission: "Variable",
128-
trim: "Touring 2WD",
129-
uuid: "ab119e0e0a0a00f944d6f3031cd34854",
130-
vin: "1HGCV1F42JA141468",
125+
status: 'live',
126+
stockNumber: '00100060',
127+
transmission: 'Variable',
128+
trim: 'Touring 2WD',
129+
uuid: 'ab119e0e0a0a00f944d6f3031cd34854',
130+
vin: '1HGCV1F42JA141468',
131131
year: 2020
132132
}
133133
```
@@ -296,4 +296,4 @@ Parameter Name | Example Value | Parameter Type
296296

297297
> This event passes the standard <a href="#page-event">Page Event</a> object to your callback function as well as the full array of <a href="#vehicle-event">Vehicle Event</a> data objects.
298298
299-
This is useful for coding your application to work with our modern Search Results Page which is a dynamic single page application. When the list of vehicles is refreshed/updated, this event is fired with the Page and Vehicle payload of data for you to use as needed. Any subsequent methods/subscriptions/insertions can occur within this event, to ensure that when vehicles are updated your code immediately executes to decorate those vehicle cards with your content.
299+
This is useful for coding your application to work with our modern Search Results Page which is a dynamic single page application. When the list of vehicles is refreshed/updated, this event is fired with the Page and Vehicle payload of data for you to use as needed. Any subsequent methods/subscriptions/insertions can occur within this event, to ensure that when vehicles are updated your code immediately executes to decorate those vehicle cards with your content.

0 commit comments

Comments
 (0)