UNPKG

nativescript-angular

Version:

An Angular renderer that lets you build mobile apps with NativeScript.

17 lines (16 loc) 680 B
import { NSLocationStrategy } from "./ns-location-strategy"; import { PlatformLocation, LocationChangeListener } from "@angular/common"; export declare class NativescriptPlatformLocation extends PlatformLocation { private locationStrategy; constructor(locationStrategy: NSLocationStrategy); getBaseHrefFromDOM(): string; onPopState(fn: LocationChangeListener): void; onHashChange(_fn: LocationChangeListener): void; readonly search: string; readonly hash: string; pathname: string; pushState(state: any, title: string, url: string): void; replaceState(state: any, title: string, url: string): void; forward(): void; back(): void; }