const mixinafEfanXtra::EfanLibrary
afEfanXtra::EfanLibrary
better doc Holds efan components as defined in a contributed pod. Contains dynamically generated methods for rendering efan components. Libs are auto injected into your components
- fitsInitRenderMethod
Bool fitsInitRenderMethod(Type comType, Type[] paramTypes)Utility method to check if a set of parameters fit the @InitRenderMethod.
- name
abstract Str nameThe name of library - given when you contribute a pod to
EfanLibraries.- renderComponent
Obj? renderComponent(Type comType, Obj[] initArgs, |Obj?? bodyFunc := null)Renders the given efan component. If the
@InitRendermethod returns anything other than Void, null or true, rendering is aborted and the value returned.