java.lang.Object
io.jmix.chartsflowui.kit.component.model.shared.JsFunction
All Implemented Interfaces:
Serializable

public class JsFunction extends Object implements Serializable
JavaScript function definition. Must be determined by a specific pattern:
function($parameters$): {$code$};
Example:
new JsFunction("function(value) { return \"Value is \" + value };")
See Also:
  • Field Details

    • code

      protected final String code
  • Constructor Details

    • JsFunction

      public JsFunction(String code)
  • Method Details

    • getCode

      public String getCode()