Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Angular Repeater

Directive that could handle recursion

Important note

This is a directive which outputs inputs with labels, based on model provided.

I'm considering to extend this directive for different outputs, but that will be decided if any request is made.

For example, this could be used to output a file tree.

Usage

First include Angular Repeater in your project:

(function (DemoApp) {
  'use strict';

  DemoApp = angular.module('DemoApp', ['Repeater']);

  DemoApp.config(function () {});
}(this));

Than call recursive-repeater directive and provide it with an Angular model and label:

<recursive-repeater json-data="jsonData" label="MyLabel"></recursive-repeater>

Demo

https://frontend-developer.xyz/angular-repeater/

Guide

https://silvestarbistrovic.from.hr/en/articles/recursively-includible-angular-directive

About

Directive that could handle recursion

Resources

License

Packages

No packages published
You can’t perform that action at this time.