IFClite TypeScript API
    Preparing search index...

    Interface FacetContext

    Context every facet entry carries for rendering.

    interface FacetContext {
        facet: IDSFacet;
        facetId: string;
        optionality?: RequirementOptionality;
        section: Section;
        specId: string;
        specName: string;
    }
    Index
    facet: IDSFacet

    The facet as it reads after the change (before it, for removals).

    facetId: string

    Requirement optionality after the change (requirements only).

    section: Section
    specId: string

    The specification (id in a when matched).

    specName: string