M
M
Mikhail Smirnov2018-07-11 17:39:58
Vue.js
Mikhail Smirnov, 2018-07-11 17:39:58

How to make a plugin in vue?

Good afternoon!
Tell me how you can make your plugin like a datepicker
Required:
At the focus event on the input, a modal window should be shown, with a choice of dates, when a date is selected, it should fall into the selected field.
There can be many fields.
The main thing for me is to understand how to pass this input to a window with dates and then insert a value into it.
Maybe there is some example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Anton, 2018-07-11
@fortoster83

Not a plugin, but a component. There are a bunch of ready-made ones, see https://github.com/vuejs/awesome-vue#calendar , but in principle it's easy to do it yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question