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.
bravo-skeleton
Advanced tools
``` Extend from element-loading,it means u can use almost most functions of v-loading ```
Extend from element-loading,it means u can use almost most functions of v-loading
npm i bravo-skeleton
//main.js
import bravoSkeleton from "bravo-skeleton"
Vue.install(bravoSkeleton)
As default,the directive will show loading status.
if u use .block .pics .texts .circle modifies,it will show skeleton effect.
<div style="background-color: #334880;height: 900px" v-skeleton.block.texts.circle.pics="loading"></div>
1.[.block].circle.texts.pics
2.[.block].list
3.[.block].image
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
block | transform a inline element to inline-block | boolean | — | false |
circle | a circle prepend to the head of context | boolean | — | false |
texts | a self-computed component of text style skeleton | boolean | — | false |
pics | a self-computed component of picture style skeleton | boolean | — | false |
list | a self-computed component of list style skeleton,once u use this,the circle,texts,pics will not active | boolean | — | false |
image | a image skeleton | boolean | — | false |
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
target | the DOM node Loading needs to cover. Accepts a DOM object or a string. If it's a string, it will be passed to document.querySelector to get the corresponding DOM node | object/string | — | document.body |
body | same as the body modifier of v-skeleton | boolean | — | false |
fullscreen | same as the fullscreen modifier of v-skeleton | boolean | — | true |
lock | same as the lock modifier of v-skeleton | boolean | — | false |
text | loading text that displays under the spinner | string | — | — |
spinner | class name of the custom spinner | string | — | — |
background | background color of the mask | string | — | — |
customClass | custom class name for Loading | string | — | — |
--from dongjiayun
FAQs
``` Extend from element-loading,it means u can use almost most functions of v-loading ```
The npm package bravo-skeleton receives a total of 1 weekly downloads. As such, bravo-skeleton popularity was classified as not popular.
We found that bravo-skeleton 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.