Class Component
publicExtends: | Ember.CoreView |
---|---|
Uses: | Ember.ViewStateSupport , | Ember.ViewMixin , Ember.ActionSupport , Ember.ClassNamesSupport , Ember.TargetActionSupport
Defined in: | packages/@ember/-internals/glimmer/lib/component.ts:32 |
Module: | @ember/component |
didInsertElement public
Module: | @ember/component |
---|
Inherited from Ember.ViewMixin packages/@ember/-internals/views/lib/mixins/view_support.js:279
Called when the element of the view has been inserted into the DOM. Override this function to do any set up that requires an element in the document body.
When a view has children, didInsertElement will be called on the child view(s) first and on itself afterwards.
didReceiveAttrs public
Module: | @ember/component |
---|
Defined in packages/@ember/-internals/glimmer/lib/component.ts:885
Available since v1.13.0
Called when the attributes passed into the component have been updated. Called both during the initial render of a container and during a rerender. Can be used in place of an observer; code placed here will be executed every time any attribute updates.
didRender public
Module: | @ember/component |
---|
Defined in packages/@ember/-internals/glimmer/lib/component.ts:904
Available since v1.13.0
Called after a component has been rendered, both on initial render and in subsequent rerenders.
didUpdate public
Module: | @ember/component |
---|
Defined in packages/@ember/-internals/glimmer/lib/component.ts:972
Available since v1.13.0
Called when the component has updated and rerendered itself. Called only during a rerender, not during an initial render.
didUpdateAttrs public
Module: | @ember/component |
---|
Defined in packages/@ember/-internals/glimmer/lib/component.ts:938
Available since v1.13.0
Called when the attributes passed into the component have been changed. Called only during a rerender, not during an initial render.
willClearRender public
Module: | @ember/component |
---|
Inherited from Ember.ViewMixin packages/@ember/-internals/views/lib/mixins/view_support.js:292
Called when the view is about to rerender, but before anything has been torn down. This is a good opportunity to tear down any manual observers you have installed based on the DOM state
willDestroyElement public
Module: | @ember/component |
---|
Inherited from Ember.ViewMixin packages/@ember/-internals/views/lib/mixins/view_support.js:329
Called after the element of the view is destroyed.
willInsertElement public
Module: | @ember/component |
---|
Inherited from Ember.ViewMixin packages/@ember/-internals/views/lib/mixins/view_support.js:271
Called when a view is going to insert an element into the DOM.
willRender public
Module: | @ember/component |
---|
Defined in packages/@ember/-internals/glimmer/lib/component.ts:921
Available since v1.13.0
Called before a component has been rendered, both on initial render and in subsequent rerenders.
willUpdate public
Module: | @ember/component |
---|
Defined in packages/@ember/-internals/glimmer/lib/component.ts:955
Available since v1.13.0
Called when the component is about to update and rerender itself. Called only during a rerender, not during an initial render.
© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/3.25/classes/Component/events