package vue-jsoo

  1. Overview
  2. Docs
type push_obj = {
  1. pu_path : string option;
  2. pu_name : string option;
  3. params : (string * Mjs.any) list option;
  4. query : (string * string) list option;
}

navigation ML object

type push_arg =
  1. | PStr of string
  2. | PObj of push_obj

navigation ML argument : string ot object

type 'a next =
  1. | NUnit
  2. | NFalse
  3. | NRoute of push_obj
  4. | NError of Mjs.error Mjs.t
  5. | NFunction of 'a Mjs.t -> unit

navigation iterator argument for 'next'

class type push_args = object ... end

navigation JS object signature

val to_push_obj : push_args Mjs.t -> push_obj

JS to ML

val of_push_obj : push_obj -> push_args Mjs.t

ML to JS

val empty : push_obj

empty navigation object

wrapper for navigation guards that don't have access to this

val wrap_meth_hook : ('a -> push_obj -> push_obj -> 'b next) -> ('a, push_args Mjs.t -> push_args Mjs.t -> (Js_of_ocaml.Js.Unsafe.any -> 'c) -> 'c) Js_of_ocaml.Js.meth_callback

wrapper for navigation guards that have access to this

OCaml

Innovation. Community. Security.