mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(router): rename API to match stencil-router
This commit is contained in:
@ -12,17 +12,17 @@
|
||||
string
|
||||
|
||||
|
||||
#### params
|
||||
#### componentProps
|
||||
|
||||
|
||||
|
||||
|
||||
#### path
|
||||
#### redirectTo
|
||||
|
||||
string
|
||||
|
||||
|
||||
#### redirectTo
|
||||
#### url
|
||||
|
||||
string
|
||||
|
||||
@ -34,17 +34,17 @@ string
|
||||
string
|
||||
|
||||
|
||||
#### params
|
||||
#### component-props
|
||||
|
||||
|
||||
|
||||
|
||||
#### path
|
||||
#### redirect-to
|
||||
|
||||
string
|
||||
|
||||
|
||||
#### redirect-to
|
||||
#### url
|
||||
|
||||
string
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ import { Component, Prop } from '@stencil/core';
|
||||
tag: 'ion-route'
|
||||
})
|
||||
export class Route {
|
||||
@Prop() path = '';
|
||||
@Prop() url = '';
|
||||
@Prop() component: string;
|
||||
@Prop() redirectTo: string;
|
||||
@Prop() params: {[key: string]: any};
|
||||
@Prop() componentProps: {[key: string]: any};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user