Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.94 KB

FEATURES.md

File metadata and controls

61 lines (39 loc) · 1.94 KB

About Features

Please read the Feature Flag Guide for a detailed explanation.

Feature Flags

  • ember-libraries-isregistered

    Add isRegistered to Ember.libraries. This convenience method checks whether a library is registered with Ember or not.

  • ember-application-visit

    Provides an API for creating an application instance and specifying an initial URL that it should route to. This is useful for testing (you can have multiple instances of an app without having to run serially and call reset() each time), as well as being critical to for FastBoot.

  • ember-htmlbars-component-generation

    Enables HTMLBars compiler to interpret <x-foo></x-foo> as a component invocation (instead of a standard HTML5 style element).

  • ember-debug-handlers

    Implements RFC emberjs/rfcs#65, adding support for custom deprecation and warning handlers.

  • ember-routing-routable-components

    Implements RFC emberjs/rfcs#38, adding support for routable components.

  • ember-metal-ember-assign

    Add Ember.assign that is polyfill for Object.assign.

  • ember-contextual-components

    Introduce a helper that creates closures over attrs and its own path, then allow the closed over cell to be invoked via the {{component helper or any reference with a dot in the path.

    For example:

    {{#with (hash profile=(component "user-profile")) as |userComponents|}}
      {{userComponents.profile}}
    {{/with}}

    Implements RFC #64

  • ember-htmlbars-local-lookup

    Provides the ability for component lookup to be relative to the source template.

    When the proper API's are implemented by the resolver in use this feature allows {{x-foo}} in a given routes template (say the post route) to lookup a component nested under post.