Skip to content

Instantly share code, notes, and snippets.

@atulgupta31
Created November 4, 2015 09:57
Show Gist options
  • Save atulgupta31/8322931067615125e64e to your computer and use it in GitHub Desktop.
Save atulgupta31/8322931067615125e64e to your computer and use it in GitHub Desktop.
<!-- Component:myComponent -->
<apex:component >
<apex:attribute name="myValue" description="This is the value for the component." type="String" required="true"/>
<apex:attribute name="borderColor" description="This is color for the border." type="String" required="true"/>
<apex:attribute name="borderStyle" description="This is style of border ." type="String" required="true"/>
<h1 style="border-color:{!borderColor}; border-style: {!borderStyle}">
<apex:outputText value="{!myValue}"/>
</h1>
</apex:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment