package ojs_filetree
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Using filetrees in ojs_base applications, common part
Install
dune-project
Dependency
Authors
Maintainers
Sources
ojs-base-0.8.0.tar.bz2
md5=e706f1f9ec2f935d29c6b6e4832c8bdf
sha512=2596f6c59bea9c6b89923099c604a0e095a96880e7e91b06357e1de50867ae7e0261c87c35f608b7e426bddd6dd025a9868c07499287116ed458de4a0b9e9f30
doc/ojs_filetree.js/Ojsft_js/Make/class-tree/index.html
Class Make.treeSource
val mutable filetree : tree_node listval mutable on_deselect : 'a -> Ojs_filetree.Types.path -> unitval mutable on_select : 'a ->
[ `Dir | `File of Ojs_filetree.Types.mime_type ] ->
Ojs_filetree.Types.path ->
unitval mutable selected : (Ojs_js.id * Ojs_filetree.Types.path) optionmethod add_dir : Ojs_filetree.Types.path -> string -> unit Lwt.tmethod add_file : [ `Dir | `File ] ->
Ojs_filetree.Types.path ->
Js_of_ocaml.File.file Js_of_ocaml.Js.t ->
unitmethod build_from_tree : Ojs_filetree.Types.file_tree list -> unitmethod delete : Ojs_filetree.Types.path -> unit Lwt.tmethod handle_add_dir : Ojs_filetree.Types.path -> unitmethod handle_add_file : Ojs_filetree.Types.path ->
Ojs_filetree.Types.mime_type ->
unitmethod handle_delete : Ojs_filetree.Types.path -> unitmethod handle_drag_drop : [ `Dir | `File ] ->
Ojs_filetree.Types.path ->
Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t ->
unitmethod handle_message : P.server_msg -> bool Js_of_ocaml.Js.tmethod id : Ojs_js.SMap.keymethod insert_dir : Ojs_filetree.Types.path -> unitmethod insert_file : Ojs_filetree.Types.path ->
Ojs_filetree.Types.mime_type ->
unitmethod on_deselect : 'a -> Ojs_filetree.Types.path -> unitmethod on_select : 'a ->
[ `Dir | `File of Ojs_filetree.Types.mime_type ] ->
Ojs_filetree.Types.path ->
unitmethod prompt_add_dir : Ojs_filetree.Types.path -> unit Lwt.tmethod prompt_delete : Ojs_filetree.Types.path -> unit Lwt.tmethod set_on_deselect : ('a -> Ojs_filetree.Types.path -> unit) -> unitmethod set_on_select : ('a ->
[ `Dir | `File of Ojs_filetree.Types.mime_type ] ->
Ojs_filetree.Types.path ->
unit) ->
unitmethod set_onclick : Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t ->
Ojs_js.SMap.key ->
[ `Dir | `File of Ojs_filetree.Types.mime_type ] ->
Ojs_filetree.Types.path ->
unitmethod set_selected : Ojs_js.SMap.key ->
[ `Dir | `File of Ojs_filetree.Types.mime_type ] ->
Ojs_filetree.Types.path ->
unitmethod set_unselected : Ojs_js.SMap.key -> Ojs_filetree.Types.path -> unitmethod simple_call : P.client_msg -> unit Lwt.tmethod tree_node_by_path : Ojs_filetree.Types.path -> tree_node sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>