Gathering detailed insights and metrics for vue-m-layer
Gathering detailed insights and metrics for vue-m-layer
Gathering detailed insights and metrics for vue-m-layer
Gathering detailed insights and metrics for vue-m-layer
npm install vue-m-layer
Typescript
Module System
Node Version
NPM Version
Vue (75.78%)
JavaScript (24.22%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
5 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 05, 2018
Latest Version
0.0.3
Package Id
vue-m-layer@0.0.3
Size
4.64 kB
NPM Version
5.4.2
Node Version
8.7.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
Vue2 layer plugin
npm install vue-m-layer --save
import Vue from 'vue'
import layer from 'vue-m-layer'
Vue.use(layer)
this.$layer.open({
content: 'show the layer in the view'
})
layer.v version
layer.open(options) display the layer
options
(Object
)
type
(Number
) layer type,0 represents message,1 represents loading(defaults to 0
)content
(String
) layer text contenttitle
(String/Array
) layer title,it can be a string
or array
which length is two. as follows: ['title', 'background-color: #eee;'] the second parameter sets the title style(defaults to null).time
(Number
) the seconds about closing the layer (defaults no closing)style
(String
) custom layer styleclassName
(String
) add a className to layer elementbtn
(String/Array
) no setting no diaplay. set one as btn: 'button'
, if two, then set btn: ['btn-one', 'btn-2']
shade
(Boolean
) show the mask(defaults to true
)shadeClose
(Boolean
) click the mask close the layer(defaults to true
)loadingTips
(String
) the strings tips in loading(defaults to null
)yes
(Function
) the first button's handled functionno
(Function
) the seconds button's handled functionsuccess
(Function
) display the layer callback functionReturns a id about this layer.
layer.close(id) closing the layer
layer.open
returns idlayer.closeAll() close all layers
Refer layer
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More