-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.js
More file actions
30 lines (24 loc) · 708 Bytes
/
main.js
File metadata and controls
30 lines (24 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
var exampleApp = angular.module("example", ['ngFormFeedback'])
.run(function (nffSettings) {
///////////////////////////////////////////////////
// configurable options for ng-form-feedback //
/////////////////////////////////////////////////
// change the phase colors
// accepts hex colors and rgb
// nffSettings.phases = {
// 1: "#FFB74D",
// 2: "red",
// 4: "rgb(79, 168, 61)"
// };
// you can also change specific phase
// nffSettings.phases[3] = "#76FF03";
// height of the feedback bar
// in pixels
// nffSettings.height = 10;
// animation speed during phase changes
// in seconds
// nffSettings.speed = 0.3;
// positioning element from top
// in pixels
// nffSettings.top = 10;
});