menu

framework7获取路径参数

  • date_range 21/08/2017 00:00 info
    sort
    Default
    label

 

$route has the following properties:
$route.urlUrl of the loaded route/page
$route.paramsObject with route parameters (e.g. userId and postId in the example above)
$route.hashRoute hash
$route.queryParsed query object
$route.pathRoute path (same as $route.url but without query and hash)
$route.routeMatched route from specified routes parameter
编辑