EditorImageBrowserTransportCreateSettingsBuilder
Methods
Data(System.String)
Sets JavaScript function which to return additional parameters which to be sent to the remote service.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
RETURNS
The current EditorImageBrowserTransportCreateSettingsBuilder instance.
Data(System.Func)
Sets JavaScript function which to return additional parameters which to be sent to the remote service.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current EditorImageBrowserTransportCreateSettingsBuilder instance.
ContentType(System.String)
The content-type HTTP header sent to the server. Default is "application/x-www-form-urlencoded". Use "application/json" if the content is JSON. Refer to the jQuery.ajax documentation for further info.
Parameters
value - System.String
The value for ContentType
RETURNS
Returns the current EditorImageBrowserTransportCreateSettingsBuilder instance.
DataType(System.String)
The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
Parameters
value - System.String
The value for DataType
RETURNS
Returns the current EditorImageBrowserTransportCreateSettingsBuilder instance.
Type(System.String)
The type of request to make ("POST", "GET", "PUT" or "DELETE"), default is "POST". Refer to the jQuery.ajax documentation for further info.
Parameters
value - System.String
The value for Type
RETURNS
Returns the current EditorImageBrowserTransportCreateSettingsBuilder instance.
Url(System.String)
The remote url to call when creating a new record.
Parameters
value - System.String
The value for Url
RETURNS
Returns the current EditorImageBrowserTransportCreateSettingsBuilder instance.
UrlHandler(System.String)
The remote url to call when creating a new record.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
RETURNS
Returns the current EditorImageBrowserTransportCreateSettingsBuilder instance.
UrlHandler(System.Func)
The remote url to call when creating a new record.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current EditorImageBrowserTransportCreateSettingsBuilder instance.