docs(platform): add missing parameter updateDocument in the doc (#11075)

This commit is contained in:
Musa Haidari
2017-04-07 03:14:01 +04:30
committed by Brandy Carney
parent 5cb51efb55
commit df269bf7fb

View File

@ -351,6 +351,7 @@ export class Platform {
* the language needs to be dynamically changed per user/session. * 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) * [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 {string} language Examples: `en-US`, `en-GB`, `ar`, `de`, `zh`, `es-MX`
* @param {boolean} updateDocument Specifies whether the `lang` attribute of `<html>` should be updated
*/ */
setLang(language: string, updateDocument: boolean) { setLang(language: string, updateDocument: boolean) {
this._lang = language; this._lang = language;