◆ JavaScriptBuilderElement()
FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElement.JavaScriptBuilderElement | ( | ILogger< JavaScriptBuilderElement > | logger, |
Func< IPipeline, FlowElementBase< IJavaScriptBuilderElementData, IElementPropertyMetaData >, IJavaScriptBuilderElementData > | elementDataFactory, | ||
string | endpoint, | ||
string | objectName, | ||
bool | enableCookies, | ||
bool | minify, | ||
string | host = null ,
|
||
string | protocol = null
|
||
) |
Default constructor.
- Parameters
-
- logger - The logger.
- elementDataFactory - The element data factory.
- endpoint - Set the endpoint which will be queried on the host. e.g /api/v4/json
- objectName - The default name of the object instantiated by the client JavaScript.
- enableCookies - Set whether the client JavaScript stored results of client side processing in cookies.
- minify - If true, the resulting JavaScript will be minified
- host - The host that the client JavaScript should query for updates. If null or blank then the host from the request will be used
- protocol - The protocol (HTTP or HTTPS) that the client JavaScript will use when querying for updates. If null or blank then the protocol from the request will be used