Giter VIP home page Giter VIP logo

angular-wiz's Introduction

Angular-wiz

Angular-wiz is a native AngularJS directive for creating wizards. The HTML/CSS created and used is compatible with the easyWizard jQuery plugin.

Installation

The compiled files can be located in the dist folder and can be copied to your project:

  • dist/angular-wiz.js
  • dist/angular-wiz.min.js

Otherwise, the files are also available through the following package managers:

  • Bower: bower install angular-wiz

Getting Started

Add either the minified or unminified script to your project. After that, you will need to add the angular-wiz module as a dependency in your Angular app. This can be done by simply doing:

angular.module('your-app', ['angular-wiz']);

Here is an example of the directive structure and options available:

<wizard finished="executeWizardComplete()">
	<wizard-step title="first" active="true">
        <!-- content for the first step -->
    </wizard-step>
    <wizard-step title="Confirm">
        <!-- content for the last step -->
    </wizard>
</wizard>

Wizard Directive Options

  • finished: A function to be called when the wizard is finished. The syntax allowed is similiar to ng-click.

Step Directive Options

  • title: The title of the step. This will be displayed in the steps list of the wizard.

  • active: A boolean to set the active step in the wizard. please note: this option will likely be removed in the future.

Supported Browsers

Since this project was really just an unintended creation, there's no official support for anything but it has shown to work well in Chrome. I will be glad to attempt to address issues that may arise in other browsers, but I promise nothing.

Bugs and Feedback

If you see a bug or have a suggestion, feel free to open an issue here.

License

MIT License. Copyright 2014 Daniel Krainas http://www.danielkrainas.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.