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

destroyed:

injector

injector:

Methods

_livesync

  • _livesync(): void
  • Returns void

Private bootstrapApp

  • bootstrapApp(): void
  • Returns 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
  • Returns void

Private createErrorUI

  • createErrorUI(message: string): View
  • Parameters

    • message: string

    Returns View

Private createFrameAndPage

  • createFrameAndPage(isLivesync: boolean): object
  • Parameters

    • isLivesync: boolean

    Returns object

    • frame: Frame
    • page: Page

destroy

  • destroy(): void
  • Returns 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