Interface ViewConstructorFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @JsFunction public interface ViewConstructorFunction
A function interface to create component instances. This is typically implemented by the classed generated by the annotation processor and should not be directly implemented.
  • Method Summary

    Modifier and Type
    Method
    Description
    construct(jsinterop.base.JsPropertyMap<Object> inputs)
    Construct a component based on specified inputs.
  • Method Details

    • construct

      NativeView construct(jsinterop.base.JsPropertyMap<Object> inputs)
      Construct a component based on specified inputs.
      Parameters:
      inputs - the component inputs.
      Returns:
      the component.