mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs in socks
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
|
||||
import {isObject, isDefined, isFunction, extend} from '../util/util';
|
||||
|
||||
|
||||
/**
|
||||
* This is the Ionic Config
|
||||
* @usage this is what you do to use it
|
||||
*/
|
||||
export class IonicConfig {
|
||||
|
||||
constructor(settings) {
|
||||
@@ -13,7 +17,9 @@ export class IonicConfig {
|
||||
extend(this._settings, settings);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The settings description
|
||||
*/
|
||||
setting() {
|
||||
const args = arguments;
|
||||
const arg0 = args[0];
|
||||
@@ -113,6 +119,9 @@ export class IonicConfig {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* The setPlatform description
|
||||
*/
|
||||
setPlatform(platform) {
|
||||
// get the array of active platforms, which also knows the hierarchy,
|
||||
// with the last one the most important
|
||||
|
||||
Reference in New Issue
Block a user