Ember Component: update summary docstring (#38500)

The current docstring on `@ember/component`'s type definition is far
out of date; update it to match the current text in Ember's docs.
This commit is contained in:
Chris Krycho 2019-09-23 11:33:52 -06:00 committed by Ben Lichtman
parent 6f2c8dffe3
commit 7cc4e18aed

View File

@ -17,9 +17,9 @@ interface TemplateFactory {
}
/**
* A view that is completely isolated. Property access in its templates go to the view object
* and actions are targeted at the view object. There is no access to the surrounding context or
* outer controller; all contextual information is passed in.
* A component is an isolated piece of UI, represented by a template and an
* optional class. When a component has a class, its template's `this` value
* is an instance of the component class.
*/
export default class Component extends CoreView.extend(
ViewMixin,