package vue-jsoo
Binding of Vue_js
Install
Dune Dependency
Authors
Maintainers
Sources
vue-jsoo-0.3.tar.gz
md5=ba1262b631818c3d20eb872b0f6989de
sha512=d326ec29baa9abd5ad0629e3d854b78cb6846714d73b6517fa1f2341f909fe9b4cfd554c113674e133e23e8906d402ab0a3df4210dca1a775ea04c29486cb1cd
doc/vue-jsoo.router/Vue_router/index.html
Module Vue_router
Source
redirect to path or to named route
props type : boolean, object or function
route class type
router class type
Call router methods
push to new route
replace to new route
Source
val before_hook :
router Mjs.t ->
(Vue_nav.push_obj -> Vue_nav.push_obj -> (Mjs.any -> unit) -> unit) ->
unit
register hook before each navigation
Source
val resolve_hook :
router Mjs.t ->
(Vue_nav.push_obj -> Vue_nav.push_obj -> (Mjs.any -> unit) -> unit) ->
unit
register hook before each navigation confirmation
Source
val after_hook :
router Mjs.t ->
(Vue_nav.push_obj -> Vue_nav.push_obj -> (Mjs.any -> unit) -> unit) ->
unit
register hook after each navigation
Source
type ('a, 'b) route_ml = ('a, 'b) Internal.route_ml = {
path : string;
component : ('a, 'b) Vue_component.component_args option;
children : (Mjs.top, Mjs.top) route Mjs.t list option;
name : string option;
components : ('a, 'b) Vue_component.component_args Mjs.table_cons option;
redirect : redirect option;
alias : string option;
props : props option;
hook : (Vue_nav.push_obj -> Vue_nav.push_obj -> 'b Vue_nav.next) option;
}
route ML object
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>