package vue-jsoo
Binding of Vue_js
Install
Dune Dependency
Authors
Maintainers
Sources
archive?sha=d960c9bea36c709fdb3daaf319f047b49689ff45
md5=2cc7a479a0b824387f924ce83971095b
sha512=feaca68fb03c8a26ba4133f37ed8e303c5107d2bf1e73d798f739752bfc1fcb4ba53c5f6a6640c5d44cd6d52ccbb78188a2e5906e441eca98cc1af6eed29785c
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
make router from route list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>