Blame view
assets/js/pages/ui-chips.js
462 Bytes
cf76164e6 20190709 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
$( document ).ready(function() { $('.chips-initial').material_chip({ readOnly: true, data: [{ tag: 'Apple', }, { tag: 'Microsoft', }, { tag: 'Google', }], }); $('.chips-placeholder').material_chip({ placeholder: 'Enter a tag', secondaryPlaceholder: '+Tag', }); $('.chips').material_chip(); // PrettyPrint $('pre').addClass('prettyprint'); prettyPrint(); }); |