0.2.1 • Published 5 years ago

ng-tags-input-extends v0.2.1

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

Tags input extension directives for AngularJS Build Status

Example use Plunker

<!doctype html>
<html lang="ko" ng-app="app">
<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>TEST</title>

    <link rel="stylesheet" href="//mbenford.github.io/ngTagsInput/css/ng-tags-input.min.css" />
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.8/angular.js"></script>
    <script type="text/javascript" src="//cdn.jsdelivr.net/webjars/org.webjars.npm/ng-tags-input/3.2.0/build/ng-tags-input.js"></script>
    <script type="text/javascript" src="//cdn.rawgit.com/stonexx/ngTagsInput-extends/master/dist/ng-tags-input-extends.js"></script>
</head>
<body ng-controller="MainCtrl">
<tags-input ng-model="tags" tags-change-to="myTags"></tags-input>
<p>Model: {{tags}}</p>
<p>ChangeTo: {{myTags}}</p>

<script type="text/javascript">
    angular.module('app', ['ng', 'ngTagsInput', 'ngTagsInput.extends'])
        .controller('MainCtrl', function($scope) {
            $scope.tags = [
                {text: 'Tag1'},
                {text: 'Tag2'},
                {text: 'Tag3'}
            ];
            $scope.myTags = null;
        });
</script>
</body>
</html>
0.2.1

5 years ago

0.2.0

7 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago