Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NativescriptPlatformLocation

Hierarchy

  • PlatformLocation

Index

Constructors

constructor

Properties

hostname

hostname: string

href

href: string

Private locationStrategy

locationStrategy: NSLocationStrategy

port

port: string

protocol

protocol: string

Accessors

hash

hash:

pathname

pathname:

search

search:

Methods

back

  • back(): void
  • Returns void

forward

  • forward(): void
  • Returns void

getBaseHrefFromDOM

  • getBaseHrefFromDOM(): string
  • Returns string

getState

  • getState(): any
  • Returns any

onHashChange

  • onHashChange(_fn: LocationChangeListener): void
  • Parameters

    • _fn: LocationChangeListener

    Returns void

onPopState

  • onPopState(fn: LocationChangeListener): void
  • Parameters

    • fn: LocationChangeListener

    Returns void

pushState

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

    • state: any
    • title: string
    • url: string

    Returns void

replaceState

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

    • state: any
    • title: string
    • url: string

    Returns 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