fix(router): rename API to match stencil-router

This commit is contained in:
Manu Mtz.-Almeida
2018-03-13 23:40:16 +01:00
parent b4f46ee3d2
commit e729610dc8
6 changed files with 20 additions and 24 deletions

View File

@ -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

View File

@ -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};
}