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.

Example

// 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
}

Hierarchy

  • FeatureSwitches