From df269bf7fba79ed75f564775814dff48c68c8f69 Mon Sep 17 00:00:00 2001 From: Musa Haidari Date: Fri, 7 Apr 2017 03:14:01 +0430 Subject: [PATCH] docs(platform): add missing parameter updateDocument in the doc (#11075) --- src/platform/platform.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/platform.ts b/src/platform/platform.ts index 423af6f342..77d78b346c 100644 --- a/src/platform/platform.ts +++ b/src/platform/platform.ts @@ -351,6 +351,7 @@ export class Platform { * the language needs to be dynamically changed per user/session. * [W3C: Declaring language in HTML](http://www.w3.org/International/questions/qa-html-language-declarations) * @param {string} language Examples: `en-US`, `en-GB`, `ar`, `de`, `zh`, `es-MX` + * @param {boolean} updateDocument Specifies whether the `lang` attribute of `` should be updated */ setLang(language: string, updateDocument: boolean) { this._lang = language;