Login / Join
Angular Material Design Chips Example
submitted on 05/05/2015 by
Codicode
+ infos
Config
Embed
Share
Angular Material Design Chips Example
by
Codicode
Adding a tags and chips control with angular material design
Framework 1 :
-- None --
jQuery 2.0.3
jQuery 1.9.1
jQuery 1.9.0
jQuery 1.8.0
jQuery 1.7.1
jQuery 1.6.3
jQuery UI 1.10.3
MooTools 1.4.5
AngularJS 1.0.4
Prototype 1.7.1.0
Dojo 1.8.3
Chrome Frame 1.0.3
Ext Core 3.1.0
SWFObject 2.2
WebFont Loader 1.1.2
Framework 2 :
-- None --
jQuery 2.0.3
jQuery 1.9.1
jQuery 1.9.0
jQuery 1.8.0
jQuery 1.7.1
jQuery 1.6.3
jQuery UI 1.10.3
MooTools 1.4.5
AngularJS 1.0.4
Prototype 1.7.1.0
Dojo 1.8.3
Chrome Frame 1.0.3
Ext Core 3.1.0
SWFObject 2.2
WebFont Loader 1.1.2
+ Js file(s) :
//ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular.min.js //ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular-animate.min.js //ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular-aria.min.js //ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular-messages.min.js //rawgit.com/angular/bower-material/master/angular-material.js
+ Css file(s) :
//rawgit.com/angular/bower-material/master/angular-material.css
Apply
Link :
Direct http link :
Fork button :
Html code :
Embed preview :
Copy the following html code to your page to embed the preview,
To include many previews on a single page, just repeat the first line.
You can change the width, height and border color (bcolor).
<div class="refork-widget" code="3cc" style="width:100%;height:200px;" bcolor="#ccc"></div>
<script type="text/javascript" src="//snippet.run/d/z.js"></script>
HTML
<div ng-app="StarterApp" ng-controller="AppCtrl"> Tags : <md-chips ng-model="names" readonly="nodelete"></md-chips> <br/> <input type="checkbox" ng-model="nodelete">Disable deletion</input> </div>
CSS
body{ padding: 20px; }
Javascript
var app = angular.module('StarterApp', ['ngMaterial']); app.controller('AppCtrl', ['$scope', '$mdSidenav', function($scope, $mdSidenav) { $scope.names = []; $scope.isReadonly = false; }]);
©2013 Copyright snippet.run
Privacy
-
Terms of use
-
About
-
Contact