FeatureToggleEnabledDirective class

Inheritance
Annotations
  • @Directive(selector: '[featureEnabled]')

Constructors

FeatureToggleEnabledDirective(TemplateRef _templateRef, ViewContainerRef _viewContainer, FeatureToggleService toggleService)

Properties

featureName String
@Input('featureEnabled')write-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toggleService FeatureToggleService
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
shouldDisplay(String featureName) bool
override
toggleDisplay(String name, TemplateRef _templateRef, ViewContainerRef _viewContainer) → void
Inserts or removes _templateRef based on the enabled state of a feature
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited