Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NativeScriptPlatformRef

Hierarchy

  • PlatformRef

Index

Constructors

constructor

Properties

Private _bootstrapper

_bootstrapper: BootstrapperAction

Private appOptions

appOptions: AppOptions

Private platform

platform: PlatformRef

Accessors

destroyed

  • get (): boolean

injector

  • get (): Injector

Methods

_livesync

  • _livesync(): void

Private bootstrapApp

  • bootstrapApp(): void

bootstrapModule

  • bootstrapModule<M>(moduleType: Type<M>, compilerOptions?: CompilerOptions | CompilerOptions[]): Promise<NgModuleRef<M>>
  • Type parameters

    • M

    Parameters

    • moduleType: Type<M>
    • Default value compilerOptions: CompilerOptions | CompilerOptions[] = []

    Returns Promise<NgModuleRef<M>>

bootstrapModuleFactory

  • bootstrapModuleFactory<M>(moduleFactory: NgModuleFactory<M>): Promise<NgModuleRef<M>>
  • Type parameters

    • M

    Parameters

    • moduleFactory: NgModuleFactory<M>

    Returns Promise<NgModuleRef<M>>

Private bootstrapNativeScriptApp

  • bootstrapNativeScriptApp(): void

Private createErrorUI

  • createErrorUI(message: string): View

Private createFrameAndPage

  • createFrameAndPage(isLivesync: boolean): object

destroy

  • destroy(): void

onDestroy

  • onDestroy(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    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