ViewFactory<T>: ((limeobject: LimeObject, context: LimeWebComponentContext, view?: T) => T | undefined)

Type Parameters

  • T = unknown

Type declaration

    • (limeobject: LimeObject, context: LimeWebComponentContext, view?: T): T | undefined
    • Alpha

      Factory to create a view for a LimeObject

      Parameters

      • limeobject: LimeObject

        the limeobject to create a view for

      • context: LimeWebComponentContext

        the context of the web component rendering the view

      • Optional view: T

        the view as it was created by the previous factory, or undefined if this is the first factory in the chain

      Returns T | undefined