Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 11 Question 44 Discussion
A developer is building a Lightning web component that displays quantity, unit price, and the total for an order line item. The total is calculated dynamically as the quantity multiplied by the unit price.What must be added to display the total?
B) Add calculate Total() {return quantity * unitPrice;} to the javaScript and Total : {calculate Total()} in the template.
A) Add get total() { return quantity * unitPrice;} to the JavaScript and Total: {total} in the template.
C) Add Total: {quantity * UnitPrice} in the template.
D) Add Total; {multiple quantit,y unitprice)} in the template.
Flo
7 months agoViki
7 months agoJacinta
7 months agoLeah
8 months agoLuis
8 months agoAlfreda
8 months agoJimmie
8 months agoAmber
8 months agoLyla
8 months agoShaniqua
8 months agoMeghan
8 months agoRosio
8 months agoSimon
4 years ago