sourceafEfanExtra::Component.fan

using afEfan::EfanRenderer

// TODO: rename to EfanComponent?
** Annotate your efan Components with '@Component'. 
** By default, 'afEfanExtra' looks for an efan template with the same name as the component class. 
@FacetMeta { inherited = true }
facet class Component { 

    ** Use to explicitly set the location of the efan template. The Uri may take several forms:
    **  - if absolute, the template is resolved, e.g. 'fan://acmePod/templates/Notice.efan' 
    **  - if relative, the template is assumed to be on the file system, e.g. 'etc/templates/Notice.efan' 
    **  - if absolute, the template is assumed to be a pod resource, e.g. '/templates/Notice.efan'
    const Uri? template
}