This is client API (go to server)

Module Ew_table_color_picker

module Ew_table_color_picker : sig..end

The agrument is the divisor of 255 ** It have to be greater than 1 *


type t
type div = Html5_types.div Eliom_content.Html5.D.elt
val genere_lll_color : int -> string list list list

The agrument is the divisor of 255 ** It have to be greater than 1 *

val lll_color_p2 : string list list list
val lll_color_p3 : string list list list
val lll_color_p4 : string list list list
val lll_color_p5 : string list list list
val lll_color_p6 : string list list list
val lll_color_6 : string list list list
val lll_color_10 : string list list list
val create : 
  ?initial_color:int * int * int ->
  ?lll_color:string list list list ->
  unit ->
  t * div *
  div

** Take one list (tables) of list (columns) of list (lines) of color (string) ** and build table list with it. ** By default this list is initialised with lll_color_p5 ** ** It return ** - t to future action, ** - color_div, to display current select color, ** it is not mandatory to include it in page ** - and the block with all color square content in the genered table *

val fusion : 
  t ->
  t -> t

Get two color_picker to fusion in single This new color_picker use color squares of both It use color_div of first color_picker given in argument It also keep referend on first color_picker's block to future append color

This action have to be made before start function

val add_square_color : 
  t ->
  string list list list -> t

It allow to add square color and append directly in block It have to be made before start

val start : t -> unit

Launch listeners

val add_square_color_and_start : t -> string list list list -> unit

It allow to add square color after start It have not to be used before start *

val get_color : t -> string

It is not disturbe by fusion or add square *

val get_square_color_div_list : t -> div list

get all square color div element