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

element3

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element3

A Component Library for Vue3

latest
npmnpm
Version
0.0.40
Version published
Maintainers
1
Created
Source

element-steps

A element-steps component for Vue.js.

Demo

http://element-component.github.io/element-steps

Installation

npm i element-steps -D

Usage

import Vue from 'vue'
import ElStep from 'element-steps'
import 'element-theme-chalk/dist/step.css'

Vue.use(ElStep)

or

import Vue from 'vue'
import { ElSteps, ElStep } from 'element-steps'

Vue.component('el-steps', ElSteps)
Vue.component('el-step', ElStep)

Steps Attributes

参数说明类型可选值默认值
space每个 step 的间距,不填写将自适应间距Number
direction显示方向stringvertical/horizontalhorizontal
active设置当前激活步骤number0
process-status设置当前步骤的状态stringwait/process/finish/error/successprocess
finish-status设置结束步骤的状态stringwait/process/finish/error/successfinish
align-center标题描述居中对齐boolean-false

Step Attributes

参数说明类型可选值默认值
title标题string
description描述性文字string
icon图标Element Icon 提供的图标,如果要使用自定义图标可以通过 slot 方式写入string

Step Slot

name说明
icon图标
title标题
description描述性文字

Development

make dev

## test
make test

## build
make build

License

MIT

Keywords

eleme

FAQs

Package last updated on 29 Mar 2021

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