From f5a20d3dbb21acaa78b555ae15f2f2a171e2e539 Mon Sep 17 00:00:00 2001 From: mhartington Date: Wed, 3 Feb 2016 13:51:38 -0500 Subject: [PATCH] docs(config): add mode change example Closes #5312 --- ionic/config/config.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ionic/config/config.ts b/ionic/config/config.ts index d8e528543b..09ce30a5cf 100644 --- a/ionic/config/config.ts +++ b/ionic/config/config.ts @@ -29,6 +29,17 @@ import {isObject, isDefined, isFunction, isArray} from '../util/util'; * }) * ``` * + * Or change the whole mode + * + * ```ts + * @App({ + * template: `` + * config: { + * mode: md + * } + * }) + * ``` + * * Config can be overwritting at multiple levels, allowing deeper configuration. Taking the example from earlier, we can override any setting we want based on a platform. * ```ts * @App({