Lime Web Components API Documentation - v6.24.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.

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

    // Usage in components:
    if (platform.isFeatureEnabled('advancedSearch')) {
    // Enable advanced search functionality
    }