
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
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 425 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.