Ember.FEATURES#isEnabled()

isEnabled (feature) Booleanpublic

Defined in packages/ember-metal/lib/features.js:20
Available since 1.1.0

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.

Parameters:

feature String
The feature to check

Returns:

Boolean
doc_EmberJs
2016-11-30 16:51:25
Comments
Leave a Comment

Please login to continue.