package ojs_filetree

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Filetree, client side

type node_type = [
  1. | `Dir
  2. | `File
]
type tree_node = {
  1. tn_id : Ojs_js.id;
  2. mutable tn_basename : string;
  3. mutable tn_path : Ojs_base.Path.t;
  4. tn_span_id : Ojs_js.id;
  5. tn_subs_id : Ojs_js.id option;
  6. tn_type : node_type;
  7. mutable tn_subs : tree_node list;
}
val tree_nodes : tree_node Ojs_js.SMap.t ref
val button_bar_class : string
val button_class : string
val collapsed_class : string
val add_button : string -> ?cls:string -> string -> Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t
val drag_class : string
val preventDefault : 'a -> unit
val stopPropagation : 'a -> unit
val expand_buttons : ?start:[< `Collapsed | `Expand Collapsed ] -> string -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> string -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t * Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t
module type S = sig ... end
OCaml

Innovation. Community. Security.