Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- import { computed, get } from '@ember/object';
- export default Ember.Component.extend({
- init() {
- this._super();
- console.log('child init');
- },
- isClaimable: computed('organization', function() {
- console.log('computed isClaimable was triggered');
- return get(this, 'organization.claimable');
- }).readOnly(),
- didUpdateAttrs() {
- console.log('child didUpdateAttrs');
- },
- didReceiveAttrs() {
- console.log('child didReceiveAttrs');
- },
- willUpdate() {
- console.log('child willUpdate');
- },
- willRender() {
- console.log('child willRender');
- // debugger;
- },
- didInsertElement() {
- console.log('child didInsertElement');
- // debugger;
- },
- didUpdate() {
- console.log('child didUpdate');
- },
- didRender() {
- console.log('child didRender');
- console.log('child _________');
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement