Class FEATURES public
Defined in:
packages/@ember/canary-features/index.ts:18
Module:
@ember/canary-features
Since:
v1.1.0
The hash of enabled Canary features. Add to this, any canary features before creating your application.
Methods
isEnabled (feature) : Boolean public
Module:
@ember/canary-features
Defined in packages/@ember/canary-features/index.ts:29
Available since v1.1.0
- feature
- String
The feature to check
- returns
- Boolean
Determine whether the specified feature is enabled. Used by Ember's
build tools to exclude experimental features from beta/stable builds.
You can define the following configuration options:
EmberENV.ENABLE_OPTIONAL_FEATURES- enable any features that have not been explicitly enabled/disabled.