The feature flag can use an else keyword to indicate which TemplateRef:
<div *featureFlag="'my-feature'; else disabledContent">
This content will only be rendered if the 'my-feature' feature flag is enabled.
</div>
<ng-template #disabledContent>
This content will be rendered when the 'my-feature' feature flag is disabled.
</ng-template>
Actual Behavior
The example is shown without the ;else disabledContent part both in the Readme and in the FeatureFlagDirective documentation
Issue Summary
The example showcasing the usage of the
featureFlagElse
is incorrectly showing its usage.Category
Expected Behavior
The feature flag can use an
else
keyword to indicate whichTemplateRef
:Actual Behavior
The example is shown without the
;else disabledContent
part both in the Readme and in theFeatureFlagDirective
documentationSteps to Reproduce
N/A
Environment
Additional Information
N/A