summaryrefslogtreecommitdiff
path: root/editor/actions/editor_actions.mli
blob: 27b09d7f1f57e2520a211d9d1e9ec68e07a6e2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type t

(** Create the elements to be declareds inside the panel *)
val build
  : unit -> t

(* Get the events triggered by the actions buttons *)
val get_event
  : t -> State.event Note.event

(* Finalize the creation, register the handler to state update, and return the dom elements. 

   Raise an error if already completed.

*)
val complete
  : t -> State.t Note.signal -> Brr.El.t list