🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

common-qiu

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-qiu

qiu's common.js

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

COMMON-QIU

使用单体模式设计的基础js方法库,使用es6编写,内部也写好普通引入的兼容方式,但仍需 转义es6

Install

npm i common-qiu

Usage

引入方法

//引入全部
import com from "common-qiu"

//单个引入
import {siblings} from "common-qiu"

方法介绍

同级选择

返回一个除同级以外的数组对象

siblings(dom,target)
API
名称类型说明
domNode or String目标对象
targetstringcss选择器

Keywords

qiu

FAQs

Package last updated on 17 Apr 2018

Did you know?

Socket

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.

Install

Related posts