
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
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 344 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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.