marquee-vue
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.MarqueeVue=t():e.MarqueeVue=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=2)}([function(e,t,n){"use strict";function r(e){n(3)}var o=n(1),s=n(5),i=n(4),u=r,a=i(o.a,s.a,u,null,null);t.a=a.exports},function(e,t,n){"use strict";t.a={name:"MarqueeVue",data:function(){return{run:!1,pWidth:""}},props:{content:{default:"暂无内容",type:String},speed:{default:"middle",type:String},showtwo:{default:!0}},mounted:function(){var e=this;this.$nextTick(function(){e.$refs.out.clientWidth,e.$refs.in.clientWidth})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=r.a},function(e,t){},function(e,t){e.exports=function(e,t,n,r,o){var s,i=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(s=e,i=e.default);var a="function"==typeof i?i.options:i;t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),r&&(a._scopeId=r);var c;if(o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},a._ssrRegister=c):n&&(c=n),c){var f=a.functional,d=f?a.render:a.beforeCreate;f?a.render=function(e,t){return c.call(t),d(e,t)}:a.beforeCreate=d?[].concat(d,c):[c]}return{esModule:s,exports:i,options:a}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"marquee-box"},[n("div",{ref:"out",staticClass:"marquee-content"},[n("p",{class:e.run?e.speed:""},[n("span",{ref:"in",staticClass:"text1"},[e._v(e._s(e.content))]),e._v(" "),e.showtwo||e.run?n("span",{staticClass:"text2"},[e._v(e._s(e.content))]):e._e()])])])},o=[],s={render:r,staticRenderFns:o};t.a=s}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.MarqueeVue=t():e.MarqueeVue=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=2)}([function(e,t,n){"use strict";function r(e){n(3)}var o=n(1),s=n(5),i=n(4),u=r,a=i(o.a,s.a,u,"data-v-f3d948f6",null);t.a=a.exports},function(e,t,n){"use strict";t.a={name:"MarqueeVue",data:function(){return{run:!1,pWidth:""}},props:{content:{default:"",type:String},speed:{default:"middle",type:String},showtwo:{default:!0}},mounted:function(){var e=this;this.$nextTick(function(){var t=e.$refs.out.clientWidth,n=e.$refs.in.clientWidth;e.run=n>t})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=r.a},function(e,t){},function(e,t){e.exports=function(e,t,n,r,o){var s,i=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(s=e,i=e.default);var a="function"==typeof i?i.options:i;t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),r&&(a._scopeId=r);var c;if(o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},a._ssrRegister=c):n&&(c=n),c){var f=a.functional,d=f?a.render:a.beforeCreate;f?a.render=function(e,t){return c.call(t),d(e,t)}:a.beforeCreate=d?[].concat(d,c):[c]}return{esModule:s,exports:i,options:a}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"marquee-box"},[n("div",{ref:"out",staticClass:"marquee-content"},[n("p",{class:e.run?e.speed:""},[n("span",{ref:"in",staticClass:"text1"},[e._v(e._s(e.content))]),e._v(" "),e.showtwo||e.run?n("span",{staticClass:"text2"},[e._v(e._s(e.content))]):e._e()])])])},o=[],s={render:r,staticRenderFns:o};t.a=s}])}); | ||
//# sourceMappingURL=marquee-vue.min.js.map |
{ | ||
"name": "marquee-vue", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A Vue Component to marquee", | ||
@@ -5,0 +5,0 @@ "author": "hexonZhang <308826842@qq.com>", |
Sorry, the diff of this file is not supported yet
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
53598