◆ __init__()
def fiftyone_pipeline_core.javascriptbuilder.JavascriptBuilderElement.__init__ | ( | self, | |
settings = {}
|
|||
) |
JavaScriptBuilder constructor.
- Parameters
-
- {dict} - options options object
- Parameters
-
- {string} - options.obj_name the name of the client
- side object with the JavaScript properties in it ('fod' by default)
- Parameters
-
- {string} - options.protocol The protocol ("http" or "https")
- used by the client side callback url.
- This can be overriden with header.protocol evidence
- Parameters
-
- {string} - options.host The host of the client side
- callback url. This can be overriden with header.host evidence.
- Parameters
-
- {string} - options.endpoint The endpoint of the client side
- callback url
- Parameters
-
- {boolean} - options.enable_cookies whether cookies should be enabled
- Parameters
-
- {boolean} - options.minify Whether to minify the JavaScript