1.0.14 • Published 5 years ago

vue-easy-wizard v1.0.14

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

🚀 Welcome to vue-easy-wizard!

Obs: Have bootstrap support :grin:

Install Package

npm i -S vue-easy-wizard

Install Plugin Vue

import Wizard from 'vue-easy-wizard';
import 'vue-easy-wizard/dist/Wizard.css';

Vue.use(Wizard);

Basic Usage

    <Wizard>
        <WizardItem :back-button="false" title="Wizard" subtitle="Step 1">
            <h1> You are on the step One </h1>
            <button @click="$emit('wizard:next');">
                Next
            </button>
        </WizardItem>
        <WizardItem title="Wizard" subtitle="Step 2">
            <h1> You are on the step Two </h1>
            <button @click="$emit('wizard:next');">
                Next
            </button>
        </WizardItem>
        <WizardItem title="Wizard" subtitle="Step 3">
            <h1> You are on the step Three </h1>
            <button @click="$emit('wizard:next');">
                Next
            </button>
        </WizardItem>
        <WizardItem :back-button="false" subtitle="Step 4">
            <h1> You are on the step Four </h1>
            <h5> But now let's go back to the previous step </h5>
            <button @click="$emit('wizard:prev');">
                prev
            </button>
        </WizardItem>
    </Wizard>

Events

  1. To next Step:
$emit('wizard:next');
  1. To prev Step:
$emit('wizard:prev');

WizardItem Options

  1. title (required)
    <WizardItem title="Wizard">
    </WizardItem>
  1. subtitle
    <WizardItem subtitle="step 1">
    </WizardItem>
  1. Enable/Disable Back Button (true/false)
    <WizardItem :back-button="false">
    </WizardItem>
1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago