Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

BootstrapWidgetBuilder..::..AddLink Method

Adds an anchor element pointing to url and displaying the icon from icon and the text.

Namespace:  Suoranta.WebApp.Html.WidgetBuilders
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


protected void AddLink(
	string iconName,
	string text,
	string url,
	string classes,
	bool listItem
)

Parameters

iconName
Type: String
text
Type: String
url
Type: String
The link URL
classes
Type: String
CSS classes
listItem
Type: Boolean

Remarks


Icon size is determined by the CSS variable