Skip to content

ui-router-server / location / ServerLocationConfig

Class: ServerLocationConfig ​

Defined in: location.ts:26

@uirouter/core's MemoryLocationConfig with the isHtml5 its location plugin passes honored, which the shipped class ignores: it assigns html5Mode as an own property in its constructor, so a subclass overrides it by assigning too.

Extends ​

  • MemoryLocationConfig

Constructors ​

Constructor ​

ts
new ServerLocationConfig(router?, isHtml5?): ServerLocationConfig;

Defined in: location.ts:28

Takes the router and isHtml5 a location plugin passes; html5 unless told otherwise.

Parameters ​

ParameterType
router?UIRouter
isHtml5?boolean

Returns ​

ServerLocationConfig

Overrides ​

ts
MemoryLocationConfig.constructor