vue-autoNumeric icon indicating copy to clipboard operation
vue-autoNumeric copied to clipboard

Add an ability to globally set the default options

Open RomeroMsk opened this issue 7 years ago • 1 comments

I didn't find a way to set the default options globally, so they are merged with the options passed to the component from template. It would be great to have such ability, something like this (using Vue Plugins):

import VueAutonumeric from 'vue-autonumeric';
Vue.use(VueAutonumeric, {
    onInvalidPaste: 'ignore'
});

RomeroMsk avatar Jun 12 '18 13:06 RomeroMsk

This is a great idea. I'll see what I can do about that!

AlexandreBonneau avatar Jun 14 '18 14:06 AlexandreBonneau