New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

wea-intro

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wea-intro

A user experience boot component based the introjs

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

WeaIntro

Based the introjs, a user experience boot. Demo

Demo

Guide

CDN

<link href="https://cdnjs.cloudflare.com/ajax/libs/wea-intro/0.1.0/wea-intro.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/wea-intro/0.1.0/wea-intro.min.js" />

NPM

npm install --save wea-intro
import WeaIntro from "wea-intro";

Usage


var myWeaIntro = new WeaIntro();

myWeaIntro.setSteps([
  {
    element: "#wea_intro_step0",
    intro: "<h6>步骤一</h6>天青色等烟雨,而我在等你,岁月被打捞起,掩盖了结局。",
    position: "right",
    event: function() {
      console.log("step0");
    }
  },
  ...
]);

myWeaIntro.start();

Parameter

NameTypeDescript
elementString步骤区块的 id
introString步骤区块的描述文本
positionString步骤区块的显示位置
eventFunction当前步骤切换时触发的事件

Deploy

Netlify Status

FAQs

Package last updated on 14 Mar 2019

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