Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
vue-mobile-calendar
Advanced tools
a vue component of calendar for mobile
移动端日期选择器(>=vue2.0)
# install dependencies
npm install
# build for production with minification
npm run build
npm install vue-mobile-calendar
<script src="vue-mobile-calendar.js" type="text/javascript"></script>
import Vue from 'vue'
import Calendar from 'vue-mobile-calendar'
Vue.use(Calendar)
<calendar
v-model="calendarShow"
:defaultDate="defaultDate"
@change="handelChange">
</calendar>
option | description | type | default |
---|---|---|---|
v-model | show/hide the calendar | Boolean | false |
format | format date | String | "yyyy-MM-dd" |
defaultDate | default selected date | Date | new Date() |
minDate | optional minimum date | Date | null |
maxDate | optional maximum date | Date | null |
closeByClickmask | close by mask | Boolean | true |
month | text of month | Array | ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"] |
week | text of day | Array | ["周一", "周二", "周三", "周四", "周五", "周六", "周日"] |
event name | description | parameter of callback |
---|---|---|
change | when date change | (date,formatDate) |
FAQs
a vue component of calendar for mobile Vue移动端日期选择控件
The npm package vue-mobile-calendar receives a total of 158 weekly downloads. As such, vue-mobile-calendar popularity was classified as not popular.
We found that vue-mobile-calendar 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.