-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds support for angle-bracket components, including a number of changes from curlies as discussed: 1. <my-component> is inserted with a tagName of `my-component` into the DOM. We plan to support an opt-out in the future (possibly along the line of the web-component `is=` feature). 2. Attributes specified as strings (with “quotation marks”) are inserted into the DOM as attributes. For the most part, this eliminates the need for `attributeBindings`. 3. Angle bracket components do not support attrs at the top-level (the entire attrs proxy functionality is disabled). 4. A number of other legacy behaviors are removed, such as `controller=` and string rendering. 5. Attributes are read-only values by default. We plan to do a more aggressive disabling of legacy functionality; you should assume that by the time Ember 1.13 ships, there will be no deprecated functionality supported with angle bracket components. From a high-level, angle bracket components are a coarse-grained opt-in for Ember 2.0 functionality.
- Loading branch information
Showing
8 changed files
with
410 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.