Skip to content

Add an ability to globally set the default options #19

Open
@RomeroMsk

Description

@RomeroMsk

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'
});

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions