C# Class Kippt.Controls.Mvc.KipptControls

Datei anzeigen Open project: Haythem/Kippt.NET

Public Methods

Method Description
KipptButton ( this helper, Uri url, string title, Uri source, string via, bool inlineScript = true ) : System.Web.Mvc.MvcHtmlString

Renders the kippt button.

KipptButtonScript ( this helper ) : System.Web.Mvc.MvcHtmlString

Renders the script needed for kippt button.

Method Details

KipptButton() public static method

Renders the kippt button.
public static KipptButton ( this helper, Uri url, string title, Uri source, string via, bool inlineScript = true ) : System.Web.Mvc.MvcHtmlString
helper this
url System.Uri URL to save.
title string (Optional) Title for the page.
source System.Uri (Optional) Source, e.g. page domain.
via string (Optional) Source clip URI if you want to reference another clip inside Kippt (e.g. /api/clips/1337/).
inlineScript bool Specify whether if the script is inline or not. If not the script is required using method.
return System.Web.Mvc.MvcHtmlString

KipptButtonScript() public static method

Renders the script needed for kippt button.
public static KipptButtonScript ( this helper ) : System.Web.Mvc.MvcHtmlString
helper this
return System.Web.Mvc.MvcHtmlString