This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/lib/mixins/rippleable/index.js

37 lines
766 B
JavaScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
// Directives
import ripple from '../../directives/ripple'; // Types
import Vue from 'vue';
export default Vue.extend({
name: 'rippleable',
directives: {
ripple
},
props: {
ripple: {
type: [Boolean, Object],
default: true
}
},
methods: {
genRipple(data = {}) {
if (!this.ripple) return null;
data.staticClass = 'v-input--selection-controls__ripple';
data.directives = data.directives || [];
data.directives.push({
name: 'ripple',
value: {
center: true
}
});
data.on = Object.assign({
click: this.onChange
}, this.$listeners);
return this.$createElement('div', data);
},
onChange() {}
}
});
//# sourceMappingURL=index.js.map