LazyRenderBox.js 440 B

123456789101112131415161718192021
  1. import PropTypes from '../_util/vue-types';
  2. import { getListeners } from '../_util/props-util';
  3. var ILazyRenderBoxPropTypes = {
  4. visible: PropTypes.bool,
  5. hiddenClassName: PropTypes.string,
  6. forceRender: PropTypes.bool
  7. };
  8. export default {
  9. props: ILazyRenderBoxPropTypes,
  10. render: function render() {
  11. var h = arguments[0];
  12. return h(
  13. 'div',
  14. { on: getListeners(this) },
  15. [this.$slots['default']]
  16. );
  17. }
  18. };