
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
vue-component-datepicker
Advanced tools
Example using vue-loader with Webpack.
相关操作
# demo
双击打开`example/browser.html`
# serve with hot reload at localhost:8080 => 开发
npm run dev
# build for production with minification => 打包编译
npm run build
# prepub
gulp prepub
# publish
gulp publish
For detailed explanation on how things work, read the docs for vue-laoder.
1rem = 100px(iPhone5)
1rem = 117.18px(iPhone6)
<body>
<div class="content">
<button @click.prevent="showCalendar=true">唤醒日历</button>
<calendar
:show-calendar.sync="showCalendar"
max-date="4m"
start-date="2016-01-23"
end-date="2016-01-25"
:is-double-check.sync=true
:is-vication.sync=true></calendar>
</div>
<script type="text/javascript">
var ef = new Vue({
el: '.content',
data: {
showCalendar: false,
result: null
},
components: {
"calendar": vueComCalendar
},
events: {
'vue-calendar-confirm': function(result) {
//do whatever you want.
console.log(result)
},
'vue-calendar-cancle': function(result) {
//do nothing
}
}
});
</script>
</body>
max-date="4m"
or max-date="90d"
设置月份的时候,默认到最后一个月的最后一天是可选状态
设置天数的时候,默认到天数的最后一天可选,之前和之后都不可选
:is-vication.sync=true
start-date="2016-01-23"
end-date="2016-01-25"
:is-double-check.sync=true
{ status: -1 , msg:"you need selected two dates." }
'events' Method
vue-calendar-confirm
vue-calendar-cancle
##相关截图
FAQs
calendar base on vuejs
The npm package vue-component-datepicker receives a total of 2 weekly downloads. As such, vue-component-datepicker popularity was classified as not popular.
We found that vue-component-datepicker 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.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.