Skip to main content

set_element

Function set_element 

Source
pub fn set_element(
    config_json: &str,
    params: SetElementParams<'_>,
) -> Result<String>
Expand description

Set (update) an element’s properties

§Arguments

  • config_json - JSON configuration string
  • params - Element parameters (code required to identify, others optional to update)

§Returns

Modified configuration JSON string