mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
docs(platform): add missing parameter updateDocument in the doc (#11075)
This commit is contained in:

committed by
Brandy Carney

parent
5cb51efb55
commit
df269bf7fb
@ -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 `<html>` should be updated
|
||||
*/
|
||||
setLang(language: string, updateDocument: boolean) {
|
||||
this._lang = language;
|
||||
|
Reference in New Issue
Block a user