You need to sign in to do that
Don't have an account?
Paul Foley
How can my lightning component have different content in the community builder?
We're building a custom conponent for a community, and wanted to know if there is a way to have some specific content appear only when the user is in the community builder?
Our conponent is used to conditionally pop a modal box, so normally nothing would show. The issue is that when the component is on the page in the builder, you dont know it's there unless it's selected.
Our conponent is used to conditionally pop a modal box, so normally nothing would show. The issue is that when the component is on the page in the builder, you dont know it's there unless it's selected.
I would try to put an attribute and pop up the modal conditionally based on the value of the attribute. For the purpose of testing in the builder, I will set that the value of the attribute explicitly.
Cheers,
Dev