Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NativescriptPlatformLocation

Hierarchy

  • PlatformLocation

Index

Constructors

constructor

Properties

Readonly hostname

hostname: string

Readonly href

href: string

Private locationStrategy

locationStrategy: NSLocationStrategy

Readonly port

port: string

Readonly protocol

protocol: string

Accessors

hash

  • get (): string

pathname

  • get (): string
  • set (_newPath: string): void

search

  • get (): string

Methods

back

  • back(): void

forward

  • forward(): void

getBaseHrefFromDOM

  • getBaseHrefFromDOM(): string

getState

  • getState(): any

onHashChange

  • onHashChange(_fn: LocationChangeListener): void

onPopState

  • onPopState(fn: LocationChangeListener): void

pushState

  • pushState(state: any, title: string, url: string): void

replaceState

  • replaceState(state: any, title: string, url: string): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method