12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- startVal: {
- type: [String, Number],
- default: () => defProps.countTo.startVal
- },
-
- endVal: {
- type: [String, Number],
- default: () => defProps.countTo.endVal
- },
-
- duration: {
- type: [String, Number],
- default: () => defProps.countTo.duration
- },
-
- autoplay: {
- type: Boolean,
- default: () => defProps.countTo.autoplay
- },
-
- decimals: {
- type: [String, Number],
- default: () => defProps.countTo.decimals
- },
-
- useEasing: {
- type: Boolean,
- default: () => defProps.countTo.useEasing
- },
-
- decimal: {
- type: [String, Number],
- default: () => defProps.countTo.decimal
- },
-
- color: {
- type: String,
- default: () => defProps.countTo.color
- },
-
- fontSize: {
- type: [String, Number],
- default: () => defProps.countTo.fontSize
- },
-
- bold: {
- type: Boolean,
- default: () => defProps.countTo.bold
- },
-
- separator: {
- type: String,
- default: () => defProps.countTo.separator
- }
- }
- })
|