docs(): update docs

This commit is contained in:
mhartington
2016-09-26 14:28:11 -04:00
parent 390522c0e6
commit 4baa5b1e0c
6 changed files with 36 additions and 1 deletions

View File

@ -11,7 +11,9 @@ import { ViewController } from '../../navigation/view-controller';
/**
* Ionic App
* @name App
* @description
* App is a utility class used in Ionic to get information about various aspects of an app
*/
@Injectable()
export class App {

View File

@ -4,6 +4,9 @@ import { Directive } from '@angular/core';
* @name Avatar
* @module ionic
* @description
* An Avatar is a component that creates a circular image for an item.
* Avatar's can be place on the left or right side of an itemt with the `item-left` or `item-right` directive.
* @see {@link /docs/v2/components/#avatar-list Avatar Component Docs}
*/
@Directive({
selector: 'ion-avatar'

View File

@ -263,6 +263,7 @@ export class Button extends Ion {
}
}
/** @private */
ngAfterContentInit() {
this._init = true;
this._assignCss(true);

View File

@ -102,6 +102,23 @@ export class FabButton extends Ion {
/**
* @name FabList
* @description
* `ion-fab-list` is a container for multiple FAB buttons. They are components of `ion-fab` and allow you to specificy the buttons position, left, right, top, bottom.
* @usage
*
* ```html
* <ion-fab bottom right >
* <button ion-fab>Share</button>
* <ion-fab-list side="top">
* <button ion-fab>Facebook</button>
* <button ion-fab>Twitter</button>
* <button ion-fab>Youtube</button>
* </ion-fab-list>
* <ion-fab-list side="left">
* <button ion-fab>Vimeo</button>
* </ion-fab-list>
* </ion-fab>
* ```
* @module ionic
*
* @demo /docs/v2/demos/fab/

View File

@ -1,6 +1,7 @@
import { Directive } from '@angular/core';
/**
* @private
* @name Grid
* @module ionic
* @description
@ -13,6 +14,7 @@ export class Grid {
}
/**
* @private
* @name Row
* @module ionic
* @description
@ -25,6 +27,7 @@ export class Row {
}
/**
* @private
* @name Column
* @module ionic
* @description

View File

@ -122,6 +122,9 @@ export class Config {
*/
platform: Platform;
/**
* @private
*/
init(config: any, queryParams: QueryParams, platform: Platform) {
this._s = config && isObject(config) && !isArray(config) ? config : {};
this._qp = queryParams;
@ -379,8 +382,14 @@ export class Config {
}
/**
* @private
*/
export const ConfigToken = new OpaqueToken('USERCONFIG');
/**
* @private
*/
export function setupConfig(userConfig: any, queryParams: QueryParams, platform: Platform): Config {
const config = new Config();
config.init(userConfig, queryParams, platform);