Lime Web Components API Documentation - v7.4.0
    Preparing search index...

    Interface FeatureSwitches

    Available feature switches for conditional functionality.

    Feature switches enable gradual rollout and A/B testing of new features. This interface is augmented by feature modules to register their switches.

    declare module '@limetech/lime-web-components' {
    interface FeatureSwitches {
    advancedSearch: boolean;
    newUIDesign: boolean;
    betaFeatures: boolean;
    }
    }

    // Needed so the file is a module, which is what makes the block above merge
    // with the interface instead of replacing the package declaration.
    export {};

    if (platform.isFeatureEnabled('advancedSearch')) {
    // Enable advanced search functionality
    }