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

hoo-sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoo-sdk

``` <script src="https://unpkg.com/hoo-sdk@1.0.1/dist/hoo.umd.min.js"></script> ```

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

新手引导SDK

安装

cdn引入

<script src="https://unpkg.com/hoo-sdk@1.0.1/dist/hoo.umd.min.js"></script>

npm方式

npm i --save hoo-sdk

使用

参数说明

参数默认值例子
successCb--()=>{}
closeCb--()=>{}
opts----
opts={
    curStep:1,  //当前步数
    bottom:0, // 挂载dom距离父元素距离
    stepList: [
                {
                    step: 1,
                    classId: '#root',
                    title: '选择交易对',
                    content: '选择或搜索您感兴趣的数字货币交易',
                    nextText: '下一步',
                    prevText: '跳过'
                },
                {
                    step: 2,
                    classId: '',
                    title: '选择交易对2',
                    content: '选择或搜索您感兴趣的数字货币交易2',
                    nextText: '下一步',
                    prevText: '跳过'
                }
            ]}

new hoo({
    curStep:1,  //当前步数
    bottom:0, // 挂载dom距离父元素距离
    stepList: [
                {
                    step: 1,
                    classId: '#root',
                    title: '选择交易对',
                    content: '选择或搜索您感兴趣的数字货币交易',
                    nextText: '下一步',
                    prevText: '跳过'
                },
                {
                    step: 2,
                    classId: '',
                    title: '选择交易对2',
                    content: '选择或搜索您感兴趣的数字货币交易2',
                    nextText: '下一步',
                    prevText: '跳过'
                }
            ]
},()=>{},()=>{})

Keywords

工具库

FAQs

Package last updated on 23 Nov 2022

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