Cumulocity Web SDK - v1023.0.0
    Preparing search index...

    Class FeatureService

    This class allows reading a feature toggles for current tenant.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Retrieve a specific feature toggle with value for current tenant.

      Example


      (async () => {
      const featureToggleKey = 'my-custom-feature';
      const {data, res} = await featureService.detail(featureToggleKey);
      })();

      Parameters

      • key: string

      Returns Promise<IResult<IFeatureToggle>>