Skip to main content

JAVASCRIPT_PROPERTY_KEY

Constant JAVASCRIPT_PROPERTY_KEY 

Source
pub const JAVASCRIPT_PROPERTY_KEY: &str = "javascript";
Expand description

The name of the single property the JavaScript builder populates: the generated JavaScript, as a string.

The property name is "javascript", which the crate::JavaScriptBuilderElementData exposes. Read it from the element data with crate::JavaScriptBuilderElementData::javascript or by string key through fiftyone_pipeline_core::ElementData::get.