mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
docs(app): update property description
removed @params and added @property tags
This commit is contained in:
@ -17,7 +17,8 @@ const _reflect: any=Reflect;
|
|||||||
* import {App} from 'ionic/ionic';
|
* import {App} from 'ionic/ionic';
|
||||||
*
|
*
|
||||||
* @App({
|
* @App({
|
||||||
* templateUrl: 'app/app.html'
|
* templateUrl: 'app/app.html',
|
||||||
|
* providers: [DataService]
|
||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
* export class MyApp{
|
* export class MyApp{
|
||||||
@ -25,9 +26,10 @@ const _reflect: any=Reflect;
|
|||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @param {Object} [config] - the app's [../Config](Config) object
|
* @property {Object} [config] - the app's {@link docs/v2/api/config/Config/ Config} object
|
||||||
* @param {String} [template] - the template to use for the app root
|
* @property {Array} [providers] - any providers for your app
|
||||||
* @param {String} [templateUrl] - a relative URL pointing to the template to use for the app root
|
* @property {String} [template] - the template to use for the app root
|
||||||
|
* @property {String} [templateUrl] - a relative URL pointing to the template to use for the app root
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
export function App(args: any={}) {
|
export function App(args: any={}) {
|
||||||
|
Reference in New Issue
Block a user