73
73
< div class ="main-content ">
74
74
< div class ="container bloc ">
75
75
< h1 > API</ h1 >
76
- < h2 > Options </ h2 >
76
+ < h2 > options </ h2 >
77
77
< p > All the global options available.</ p >
78
78
< table class ="api-list ">
79
79
< thead >
@@ -99,7 +99,8 @@ <h2>Options</h2>
99
99
< td > false</ td >
100
100
< td > String</ td >
101
101
< td >
102
- This is the name used to add a dark / light class on the body depending on the gradient lightness,
102
+ This is the prefix used for the dark / light class name added
103
+ on the < span class ="snippet "> options.elToSetClassOn</ span > element depending on the average gradient lightness,
103
104
the class will be updated during the animation.
104
105
If you don't set a name, the class won't be set.
105
106
</ td >
@@ -110,7 +111,7 @@ <h2>Options</h2>
110
111
< td > String</ td >
111
112
< td >
112
113
The element to set the dark / light class on (e.g. < span class ="snippet "> '#canvas-wrapper'</ span > ).
113
- Is useful only if you set a < span class ="snippet "> name</ span > .
114
+ Is useful only if you set a < span class ="snippet "> options. name</ span > .
114
115
</ td >
115
116
</ tr >
116
117
< tr >
@@ -161,7 +162,7 @@ <h2>Options</h2>
161
162
</ table >
162
163
</ div >
163
164
< div class ="container bloc ">
164
- < h2 > States </ h2 >
165
+ < h2 > options.states </ h2 >
165
166
< p >
166
167
All the options available to customize the states and
167
168
the different gradients.< br >
@@ -274,8 +275,8 @@ <h2>Methods</h2>
274
275
granimInstance.clear();</ code > </ pre >
275
276
</ div >
276
277
< div class ="container bloc ">
277
- < h2 > Default configuration</ h2 >
278
- < p > Default configuration with two states and callbacks set.</ p >
278
+ < h2 > Basic configuration</ h2 >
279
+ < p > Basic configuration with two states and callbacks set.</ p >
279
280
< pre > < code class ="language-js "> var granimInstance = new Granim({
280
281
element: '',
281
282
name: 'granim',
0 commit comments