Sha256: 1ecd52bac099c423d0428bb3449393c9b22d938bff4c69bdbd12195272202692

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

/**
@module ember
*/
import { Mixin, descriptor } from '@ember/-internals/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

1 entries across 1 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/views/lib/mixins/child_views_support.js