Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VCarouselItem.js 1.1KB

12345678910111213141516171819202122232425262728
  1. var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  2. // Extensions
  3. import VWindowItem from '../VWindow/VWindowItem';
  4. // Components
  5. import { VImg } from '../VImg';
  6. /* @vue/component */
  7. export default VWindowItem.extend({
  8. name: 'v-carousel-item',
  9. inheritAttrs: false,
  10. methods: {
  11. genDefaultSlot: function genDefaultSlot() {
  12. return [this.$createElement(VImg, {
  13. staticClass: 'v-carousel__item',
  14. props: _extends({}, this.$attrs, {
  15. height: this.windowGroup.internalHeight
  16. }),
  17. on: this.$listeners
  18. }, this.$slots.default)];
  19. },
  20. onBeforeEnter: function onBeforeEnter() {},
  21. onEnter: function onEnter() {},
  22. onAfterEnter: function onAfterEnter() {},
  23. onBeforeLeave: function onBeforeLeave() {},
  24. onEnterCancelled: function onEnterCancelled() {}
  25. }
  26. });
  27. //# sourceMappingURL=VCarouselItem.js.map