HtmlHelperExtensions.SubscribeToggle Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

SubscribeToggle(HtmlHelper, IFollowable, object)

Returns a anchor element (a element) for turning on/off notifications for the specified entity.

public static MvcHtmlString SubscribeToggle(this HtmlHelper html, IFollowable followable, object htmlAttributes = null)

Parameters

html
System.Web.Mvc.HtmlHelper

The HTML helper instance that this method extends.

followable
IFollowable

The entity.

htmlAttributes
object

Html attributes to merge.

Returns

System.Web.Mvc.MvcHtmlString

An anchor.