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

system-guidejs

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

system-guidejs

系统引导工具

latest
Source
npmnpm
Version
1.2.3
Version published
Maintainers
1
Created
Source
import guidejs from 'system-guidejs';
import 'system-guidejs/lib/guide.min.css';   

const guide = new guidejs({
    allowClose: false,
  });
  guide.stepDefinition([
    {
      element: ['.name'],
      popover: {
        title: '【提示】',
        description: '0可手动录入“培训记录”或通过下载模板“批量导入普通话培训记录”。',
        closeBtnText: '跳过引导',
        nextBtnText: '下一步', // 当前步骤的下一步按钮文本 Next button text for this step
        position: 'left-center',
        onNext: () => {
          return new Promise<void>((resolve, reject) => {
            setTimeout(() => {
              resolve();
            }, 1000);
          });
        },
      },
    },
    {
      element: ['.phone', '.em'],
      elementIndex: 9,
      popover: {
        title: '【提示】',
        description: '1可手动录入“培训记录”或通过下载模板“批量导入普通话培训记录”。',
        closeBtnText: '跳过引导',
        nextBtnText: '下一步', // 当前步骤的下一步按钮文本 Next button text for this step
        position: 'right-center',
      },
    },
    {
      element: ['.option'],
      popover: {
        title: '【提示】',
        description: '2可手动录入“培训记录”或通过下载模板“批量导入普通话培训记录”。',
        nextBtnText: '完成', // 当前步骤的下一步按钮文本 Next button text for this step
        position: 'top-center',
      },
    },
  ]);

  guide.start();

FAQs

Package last updated on 07 Jun 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