Skip to content

content: add framework documentation for getting Ionic mode #2580

Closed
perrygovier/ionic-docs
#7

Description

@brandyscarney

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');
}

Activity

  1. added
    content
    and removed
    triage
    on Sep 28, 2022
  2. moved this from In progress to No status in Summer Internship - Madison College - 2025on Jun 5, 2025
  3. moved this from In progress to Internal review in Summer Internship - Madison College - 2025on Jun 5, 2025
  4. moved this from Internal review to In progress in Summer Internship - Madison College - 2025on Jun 13, 2025
  5. moved this from In progress to Internal review in Summer Internship - Madison College - 2025on Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    content

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions