O3 Framework / registerFeatureFlag
registerFeatureFlag(
flagName,label,description):void
Defined in: packages/framework/esm-feature-flags/src/feature-flags.ts:54
This function creates a feature flag. Call it in top-level code anywhere. It will not reset whether the flag is enabled or not, so it’s safe to call it multiple times. Once a feature flag is created, it will appear with a toggle in the Implementer Tools. It can then be used to turn on or off features in the code.
string
A code-friendly name for the flag, which will be used to reference it in code
string
A human-friendly name which will be displayed in the Implementer Tools
string
An explanation of what the flag does, which will be displayed in the Implementer Tools
void