Add color function documentation
This commit is contained in:
parent
0d06840a1b
commit
f045fb44de
1 changed files with 3 additions and 0 deletions
|
|
@ -2191,6 +2191,9 @@ export const duration = register('duration', function (value, pat) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the color of the hap in visualizations like pianoroll or highlighting.
|
* Sets the color of the hap in visualizations like pianoroll or highlighting.
|
||||||
|
* @name color
|
||||||
|
* @synonyms colour
|
||||||
|
* @param {string} color Hexadecimal or CSS color name
|
||||||
*/
|
*/
|
||||||
// TODO: move this to controls https://github.com/tidalcycles/strudel/issues/288
|
// TODO: move this to controls https://github.com/tidalcycles/strudel/issues/288
|
||||||
export const { color, colour } = register(['color', 'colour'], function (color, pat) {
|
export const { color, colour } = register(['color', 'colour'], function (color, pat) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue