Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content: add framework documentation for getting Ionic mode #2580

Open
brandyscarney opened this issue Sep 27, 2022 · 0 comments
Open

content: add framework documentation for getting Ionic mode #2580

brandyscarney opened this issue Sep 27, 2022 · 0 comments
Labels
content Issues related to the contents of the documentation website

Comments

@brandyscarney
Copy link
Member

brandyscarney commented Sep 27, 2022

URL

https://ionicframework.com/docs

Issue Description

I can't find anywhere we document how to get the mode, for example in JavaScript:

const mode = Ionic.mode;

in Angular:

import { Config } from '@ionic/angular';

constructor(
  public config: Config
) { }
  
ngOnInit() {
  this.mode = this.config.get('mode');
}
@brandyscarney brandyscarney added the triage New issues label Sep 27, 2022
@liamdebeasi liamdebeasi added content Issues related to the contents of the documentation website and removed triage New issues labels Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Issues related to the contents of the documentation website
Projects
None yet
Development

No branches or pull requests

2 participants