Sha256: e91f94c7593f6372db5bab4b331a0dab523e41d63b0c96ceaf7f4c6a6a2bfa46

Contents?: true

Size: 511 Bytes

Versions: 2

Compression:

Stored size: 511 Bytes

Contents

/**
@module ember
*/
import { Mixin, descriptor } from 'ember-metal';
import { getChildViews, addChildView } from '../system/utils';

export default Mixin.create({
  /**
    Array of child views. You should never edit this array directly.

    @property childViews
    @type Array
    @default []
    @private
  */
  childViews: descriptor({
    configurable: false,
    enumerable: false,
    get() {
      return getChildViews(this);
    },
  }),

  appendChild(view) {
    addChildView(this, view);
  },
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discourse-ember-source-3.5.1.1 dist/es/ember-views/lib/mixins/child_views_support.js
discourse-ember-source-3.5.1.0 dist/dist/es/ember-views/lib/mixins/child_views_support.js