I have a lightning component, which on the right panel of Edit Page, only have set component visibility
.
Can I also add parameter so that it pass to <aura:attribute>
tag?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI have a lightning component, which on the right panel of Edit Page, only have set component visibility
.
Can I also add parameter so that it pass to <aura:attribute>
tag?
what you are looking for is called a design attribute which can be added in the Lightning Component Bundle Design Resources
<design:component label="Hello World">
<design:attribute name="subject" label="Subject" description="Name of the person you want to greet" />
<design:attribute name="greeting" label="Greeting" />
</design:component>