java.lang.Object
io.jmix.pivottableflowui.kit.component.model.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()