angular-multi-step-form

WebJar for angular-multi-step-form

Лицензия

Лицензия

ISC
Категории

Категории

Angular Взаимодействие с пользователем Веб-фреймворки ORM Данные
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

angular-multi-step-form
Последняя версия

Последняя версия

1.2.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

angular-multi-step-form
WebJar for angular-multi-step-form
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/troch/angular-multi-step-form

Скачать angular-multi-step-form

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-multi-step-form/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-multi-step-form</artifactId>
    <version>1.2.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-multi-step-form/
implementation 'org.webjars.bower:angular-multi-step-form:1.2.4'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-multi-step-form/
implementation ("org.webjars.bower:angular-multi-step-form:1.2.4")
'org.webjars.bower:angular-multi-step-form:jar:1.2.4'
<dependency org="org.webjars.bower" name="angular-multi-step-form" rev="1.2.4">
  <artifact name="angular-multi-step-form" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-multi-step-form', version='1.2.4')
)
libraryDependencies += "org.webjars.bower" % "angular-multi-step-form" % "1.2.4"
[org.webjars.bower/angular-multi-step-form "1.2.4"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bower : angular jar [1.3.0,)

Модули Проекта

Данный проект не имеет модулей.

npm version Build Status Coverage Status

Angular Multi step form

multiStepForm is an angular module to create multi step forms and wizards. Create your steps like your would create your views with ngRoute or ui-router!

It is lightweight (6kb minified) but extremely versatile and powerful.

Requirements

  • Angular 1.3+

Features

  • Steps are controlled views and are easily configured
  • Directive controller
  • Asynchronous loading of steps (templateUrl and resolve)
  • Forward and backward animations
  • Isolated or non isolated scopes for steps
  • Track step validity if it contains a form
  • onCancel, onFinish and onStepChange callbacks
  • Browser navigation with search URL parameter
  • You decide what level of control you expose to the user: next, previous, jump to state, finish, cancel, etc...
  • Place summary, controls, etc... in header or footer
  • Support for multiple components per view

Breaking changes with 1.1.x

See changelog and migration guide:

Examples

Docs

Getting started

Grab the sources with bower, npm or download from Github: https://github.com/troch/angular-multi-step-form/tree/master/dist:

$ npm install --save angular-multi-step-form;
$ bower install --save angular-multi-step-form

Include multiStepForm module in your app:

angular.module('yourApp', [
    'multiStepForm'
]);

Or (with npm):

import multiStepForm from 'angular-multi-step-form';

angular.module('yourApp', [
    multiStepForm.name
]);

You can then configure your steps

$scope.steps = [
    {
        template: 'Hello <button class="btn btn-default" ng-click="$nextStep()">Next</button>'
    },
    {
        template: 'World <button class="btn btn-default" ng-click="$previousStep()">Previous</button>'
    }
];

And start your multiple step form / wizard:

  • Use the multiStepContainer directive
  • You need to use the stepContainer inside multiStepContainer to tell it where to load steps.
<multi-step-container steps="yourSteps">
    <step-container></step-container>
</multi-step-container>

Версии библиотеки

Версия
1.2.4