@@ -17,36 +17,34 @@ $ bower install angular-schema-form-colorpicker
17
17
18
18
You'll need to load a few additional files to use colorpicker:
19
19
20
- * Before loading angular schema form*
20
+ ** Be sure to load this projects files after you load angular schema form* *
21
21
22
22
1 . jQuery
23
23
2 . Angular
24
-
25
- * After loading angular schema form*
26
-
27
- 1 . The Spectrum source files (see the
24
+ 3 . The Spectrum source files (see the
28
25
[ GitHub page] ( https://github.com/amsul/pickadate.js ) for documentation)
29
- 2 . The Spectrum-angular source files (see the
26
+ 4 . The Spectrum-angular source files (see the
30
27
[ GitHub page] ( https://github.com/Jimdo/angular-spectrum-colorpicker ) for documentation)
31
- 3 . The Angular Schema Form Colorpicker files (this project)
32
- 3 . The spectrum CSS
33
- 4 . Translation files for whatever language you want to use
28
+ 5 . The spectrum CSS
29
+ 6 . Translation files for whatever language you want to use (optional)
30
+ 7 . ** Angular Schema Form**
31
+ 8 . The Angular Schema Form Colorpicker files (this project)
32
+
34
33
35
34
Example
36
35
37
36
``` HTML
38
37
<script type =" text/javascript" src =" http://code.jquery.com/jquery-2.1.1.min.js" ></script >
39
38
<script type =" text/javascript" src =" /bower_components/angular/angular.min.js" ></script >
40
39
<script type =" text/javascript" src =" /bower_components/angular-sanitize/angular-sanitize.min.js" ></script >
41
- <script type =" text/javascript" src =" /bower_components/angular-schema-form/schema-form.min.js" ></script >
42
- <script type =" text/javascript" src =" /bower_components/angular-schema-form/bootstrap-decorator.min.js" ></script >
43
-
44
40
<script type =" text/javascript" src =" /bower_components/spectrum/spectrum.js" ></script >
45
- <script type =" text/javascript" src =" /bower_components/spectrum/i18n/jquery.spectrum-sv.js" ></script >
46
41
<script type =" text/javascript" src =" /bower_components/angular-spectrum-colorpicker/dist/angular-spectrum-colorpicker.min.js" ></script >
47
- <script type =" text/javascript" src =" /bower_components/angular-schema-form-colorpicker/bootstrap-colorpicker.min.js" ></script >
48
42
43
+ <script type =" text/javascript" src =" /bower_components/angular-schema-form/schema-form.min.js" ></script >
44
+ <script type =" text/javascript" src =" /bower_components/angular-schema-form/bootstrap-decorator.min.js" ></script >
45
+ <script type =" text/javascript" src =" /bower_components/angular-schema-form-colorpicker/bootstrap-colorpicker.min.js" ></script >
49
46
<link rel =" stylesheet" href =" /bower_components/spectrum/spectrum.css" >
47
+ <script type =" text/javascript" src =" /bower_components/spectrum/i18n/jquery.spectrum-sv.js" ></script >
50
48
```
51
49
52
50
0 commit comments