java.lang.Object
io.jmix.fullcalendarflowui.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$};

For instance:


 new JsFunction("""
         function (content) {
             return "Title: " content.title;
         }
         """);
 
See Also:
  • Constructor Details

    • JsFunction

      public JsFunction(String code)
  • Method Details

    • getCode

      public String getCode()