@egjs/vue-flicking
Advanced tools
Comparing version 4.5.1 to 4.5.2
import Vue from "vue"; | ||
declare const VuePanel: import("vue/types/vue").ExtendedVue<Vue, { | ||
hide: boolean; | ||
}, {}, { | ||
nativeElement: HTMLElement; | ||
}, Record<never, any>>; | ||
}, { | ||
getElement: () => HTMLElement; | ||
}, {}, Record<never, any>>; | ||
declare type VuePanelType = InstanceType<typeof VuePanel>; | ||
@@ -8,0 +8,0 @@ interface VuePanel extends VuePanelType { |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/vue-flicking | ||
version: 4.5.1 | ||
version: 4.5.2 | ||
*/ | ||
@@ -329,4 +329,4 @@ 'use strict'; | ||
}, | ||
computed: { | ||
nativeElement: function () { | ||
methods: { | ||
getElement: function () { | ||
return this.$el; | ||
@@ -347,3 +347,3 @@ } | ||
get: function () { | ||
return this._el.nativeElement; | ||
return this._el.getElement(); | ||
}, | ||
@@ -615,3 +615,3 @@ enumerable: false, | ||
var version = "4.5.1"; | ||
var version = "4.5.2"; | ||
@@ -618,0 +618,0 @@ var install = function (Vue) { |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/vue-flicking | ||
version: 4.5.1 | ||
version: 4.5.2 | ||
*/ | ||
@@ -328,4 +328,4 @@ import ListDiffer from '@egjs/list-differ'; | ||
}, | ||
computed: { | ||
nativeElement: function () { | ||
methods: { | ||
getElement: function () { | ||
return this.$el; | ||
@@ -346,3 +346,3 @@ } | ||
get: function () { | ||
return this._el.nativeElement; | ||
return this._el.getElement(); | ||
}, | ||
@@ -614,3 +614,3 @@ enumerable: false, | ||
var version = "4.5.1"; | ||
var version = "4.5.2"; | ||
@@ -617,0 +617,0 @@ var install = function (Vue) { |
{ | ||
"name": "@egjs/vue-flicking", | ||
"version": "4.5.1", | ||
"version": "4.5.2", | ||
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.", | ||
@@ -5,0 +5,0 @@ "main": "dist/flicking.cjs.js", |
@@ -12,3 +12,3 @@ /* | ||
public get element() { return this._el.nativeElement; } | ||
public get element() { return this._el.getElement(); } | ||
public get rendered() { return !this._el.hide; } | ||
@@ -15,0 +15,0 @@ |
@@ -7,3 +7,3 @@ /* | ||
const VuePanel = Vue.extend<{ hide: boolean }, {}, { nativeElement: HTMLElement }>({ | ||
const VuePanel = Vue.extend<{ hide: boolean }, { getElement: () => HTMLElement }, {}>({ | ||
data() { | ||
@@ -22,4 +22,4 @@ return { | ||
}, | ||
computed: { | ||
nativeElement(): HTMLElement { return this.$el as HTMLElement; } | ||
methods: { | ||
getElement(): HTMLElement { return this.$el as HTMLElement; } | ||
} | ||
@@ -26,0 +26,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112321