package ojs_filetree

  1. Overview
  2. Docs
Using filetrees in ojs_base applications, common part

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ojs-base-0.9.0.tar.bz2
md5=d1280f8b88bd6e03f62084c63027cf47
sha512=ff933d51b7a64a4d7356442284f0d992de746523fb28217d01c7d4ca0f461920b9f05d2f22ae4ba51f5a819c6b923e64b600150164ae58439b86e186d284b2ee

doc/ojs_filetree.js/Ojsft_js/index.html

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