ApplicationInstance.BootOptions#isBrowser

isBrowserbooleanpublic

Defined in packages/ember-application/lib/system/application-instance.js:340

Run in a full browser environment.

When this flag is set to false, it will disable most browser-specific and interactive features. Specifically:

  • It does not use jQuery to append the root view; the rootElement (either specified as a subsequent option or on the application itself) must already be an Element in the given document (as opposed to a string selector).

  • It does not set up an EventDispatcher.

  • It does not run any Component lifecycle hooks (such as didInsertElement).

  • It sets the location option to "none". (If you would like to use the location adapter specified in the app's router instead, you can also specify { location: null } to specifically opt-out.)

Default: auto-detected

doc_EmberJs
2016-11-30 16:48:30
Comments
Leave a Comment

Please login to continue.