package ojs_filetree

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

Module Ojsft_jsSource

Filetree, client side

Sourcetype node_type = [
  1. | `Dir
  2. | `File
]
Sourcetype 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;
}
Sourceval button_bar_class : string
Sourceval button_class : string
Sourceval collapsed_class : string
Sourceval 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
Sourceval drag_class : string
Sourceval preventDefault : 'a -> unit
Sourceval stopPropagation : 'a -> unit
Sourceval 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
Sourcemodule type S = sig ... end
OCaml

Innovation. Community. Security.