@coreui/vue-pro
Version:
UI Components Library for Vue.js
23 lines (19 loc) • 631 B
JavaScript
;
var vue = require('vue');
const COneTimePasswordInput = vue.defineComponent({
name: 'COneTimePasswordInput',
inheritAttrs: false,
setup(_, { attrs, slots }) {
return () => vue.h('input', {
maxlength: 1,
autocomplete: 'one-time-code',
autocapitalize: 'off',
autocorrect: 'off',
spellcheck: false,
...attrs,
class: ['form-otp-control', attrs.class],
}, slots.default && slots.default());
},
});
exports.COneTimePasswordInput = COneTimePasswordInput;
//# sourceMappingURL=COneTimePasswordInput.js.map