dc.Button

The <dc.Button> tag creates a link styled to look like a button. Useful for linking to another page with Page attribute or triggering code with Click attribute.

Attributes

  • Label: button name, empty for none

  • Icon: which Font Awesome icon to use - “fa-check”, empty for none

  • Page: local page the button opens - “/about-us”

  • Click: page function called when clicked - “DoDownload”

  • To: direct value for href - “http://google.com/“, use this instead of href

  • Scope: Default, Primary, Selected (also Success, Info, Warning, Danger and any custom scopes defined in your template)

Usage Notes

TODO notes

Examples

<dc.Button Label="Click Me" Click="FunctionName" /> Click Me

See Also

  • TODO