You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -276,10 +276,14 @@ The following snippet demonstrates how to implement a customized feature filter
276
276
}
277
277
```
278
278
279
-
You need to register the custom filter when creating the `FeatureManager`.
279
+
You need to register your custom filter under the `customFilters` property of the `FeatureManagerOptions` object passed to the `FeatureManager` constructor.
newMyCriteriaFilter() // add custom feature filters under FeatureManagerOptions.customFilters
285
+
]
286
+
});
283
287
```
284
288
285
289
### Parameterized feature filters
@@ -307,7 +311,7 @@ The feature filter can take advantage of the context that is passed in when `isE
307
311
308
312
## Built-in feature filters
309
313
310
-
There are two feature filters that come with the `FeatureManagement` package: `TimeWindowFilter`, and `TargetingFilter`.
314
+
There are two feature filters that come with the `FeatureManagement` package: `TimeWindowFilter` and `TargetingFilter`. All built-in feature filters will be added by default when constructing `FeatureManager`.
311
315
312
316
Each of the built-in feature filters has its own parameters. Here's the list of feature filters along with examples.
0 commit comments