
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
vue-date-dropdown
Advanced tools
A Vue date dropdown component
npm install vue-date-dropdown --save
yarn add vue-date-dropdown
import DateDropdown from 'vue-date-dropdown'
export default {
...
components: {
DateDropdown
},
data () {
return {
selectedDate: '',
...
}
}
...
}
Or if you are using CDN version
<script src="vue-date-dropdown.min.js"></script>
<script>
Vue.use(DateDropdown)
new Vue({
...
data() {
return {
selectedDate: '',
...
}
}
...
});
<script>
See the demo in the example folder.
Setting a default date
<date-dropdown default="1995-01-10" v-model="selectedDate" />
Setting a min date
<date-dropdown min="1960" v-model="selectedDate" />
Setting a max date
<date-dropdown max="2018" v-model="selectedDate" />
Setting a range of dates
<date-dropdown min="1960" max="2017" v-model="selectedDate" />
Setting Russian names of months
<date-dropdown
v-model="selectedDate"
months-names="Январь, Февраль, Март, Апрель, Май, Июнь, Июль, Август, Сентябрь, Октябрь, Ноябрь, Декабрь">
<date-dropdown>
Name | Type | Description |
---|---|---|
default | String | Set default date. |
min | String | Limits the year to a minimum specified value. |
max | String | Limits the year to a maximum specified value. |
months-names | String | The alternative names of month. |
FAQs
A Vue date dropdown component
The npm package vue-date-dropdown receives a total of 415 weekly downloads. As such, vue-date-dropdown popularity was classified as not popular.
We found that vue-date-dropdown demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.