ExtraOptions

Stable Interface

What it does

Represents options to configure the router.

Interface Overview

interface ExtraOptions {
  enableTracing : boolean
  useHash : boolean
  initialNavigation : boolean
  errorHandler : ErrorHandler
}

Interface Description

Interface Details

enableTracing : boolean

Makes the router log all its internal events to the console.

useHash : boolean

Enables the location strategy that uses the URL fragment instead of the history API.

initialNavigation : boolean

Disables the initial navigation.

errorHandler : ErrorHandler

A custom error handler.

exported from @angular/router/index, defined in @angular/router/src/router_module.ts

doc_Angular
2016-10-06 09:46:28
Comments
Leave a Comment

Please login to continue.