Add colorpicker component

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-04-26 08:56:54 +02:00
parent 07cfa1abb8
commit dfb91a0e39
5 changed files with 130 additions and 8 deletions

View File

@@ -56,9 +56,8 @@ export class BoardApi {
/**
* Creates a new board.
*
* @param {{String title, String color, String hashedColor}} boardData The board data to send.
* hashedColor is the color in hex format, e.g. "#ff0000"
* color is the same color without the "#"
* @param {{String title, String color}} boardData The board data to send.
* color the hexadecimal color value formated /[0-9A-F]{6}/i
* @return Promise
*/
createBoard(boardData) {