ExamGecko
Question list
Search
Search

List of questions

Search

Question 207 - Certified B2B Commerce Administrator discussion

Report
Export

Which element can be used to pass HTML from a parent component to a child component?

A.
<html></htmi>
Answers
A.
<html></htmi>
B.
<template></template>
Answers
B.
<template></template>
C.
Answers
C.
D.
<slot></slot>
Answers
D.
<slot></slot>
Suggested answer: D

Explanation:

<target>lightningCommunity_Page</target> because this is the element that should be included in the component's configuration XML file to make the custom component available for the Product Detail page in the store.The target element specifies where the component can be used, and the lightningCommunity_Page value indicates that the component can be used on any Experience Builder page1. The other options are incorrect because they either use invalid or irrelevant elements or values.For example, the builder element is not a valid element for Lightning web components2, the RecordPage value is not a valid target for Lightning web components3, and the isAvailable and isExposed elements are not required for Lightning web components4.Reference:Target a Page Type,Component Configuration File,Target Config File,Expose a Component to Experience Builder

asked 23/09/2024
ALAEDDINE BENMAKHLOUF
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first