NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view on GitHub
Search
Preparing search index...
The search index is not available
NativeScript Angular
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"platform-common"
NativeScriptPlatformRef
Class NativeScriptPlatformRef
Globals
"platform-
common"
Native
Script
Document
Native
Script
Platform
Ref
constructor
_bootstrapper
app
Options
platform
destroyed
injector
_livesync
bootstrap
App
bootstrap
Module
bootstrap
Module
Factory
bootstrap
Native
Script
App
create
ErrorUI
create
Frame
And
Page
destroy
on
Destroy
Native
Script
Sanitizer
App
Launch
View
App
Options
Hmr
Options
Bootstrapper
Action
Platform
Factory
COMMON_
PROVIDERS
last
Bootstrapped
Module
on
After
Livesync
on
Before
Livesync
Hierarchy
PlatformRef
Index
Constructors
constructor
Properties
_bootstrapper
app
Options
platform
Accessors
destroyed
injector
Methods
_livesync
bootstrap
App
bootstrap
Module
bootstrap
Module
Factory
bootstrap
Native
Script
App
create
ErrorUI
create
Frame
And
Page
destroy
on
Destroy
Constructors
constructor
new
Native
Script
Platform
Ref
(
platform
:
PlatformRef
, appOptions
?:
AppOptions
)
:
NativeScriptPlatformRef
Parameters
platform:
PlatformRef
Default value
appOptions:
AppOptions
= {}
Returns
NativeScriptPlatformRef
Properties
Private
_bootstrapper
_bootstrapper
:
BootstrapperAction
Private
app
Options
app
Options
:
AppOptions
Private
platform
platform
:
PlatformRef
Accessors
destroyed
get
(
)
:
boolean
Returns
boolean
injector
get
(
)
:
Injector
Returns
Injector
Methods
_livesync
_livesync
(
)
:
void
Returns
void
Private
bootstrap
App
bootstrap
App
(
)
:
void
Returns
void
bootstrap
Module
bootstrap
Module<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
>
>
bootstrap
Module
Factory
bootstrap
Module
Factory<M>
(
moduleFactory
:
NgModuleFactory
<
M
>
)
:
Promise
<
NgModuleRef
<
M
>
>
Type parameters
M
Parameters
moduleFactory:
NgModuleFactory
<
M
>
Returns
Promise
<
NgModuleRef
<
M
>
>
Private
bootstrap
Native
Script
App
bootstrap
Native
Script
App
(
)
:
void
Returns
void
Private
create
ErrorUI
create
ErrorUI
(
message
:
string
)
:
View
Parameters
message:
string
Returns
View
Private
create
Frame
And
Page
create
Frame
And
Page
(
isLivesync
:
boolean
)
:
object
Parameters
isLivesync:
boolean
Returns
object
frame
:
Frame
page
:
Page
destroy
destroy
(
)
:
void
Returns
void
on
Destroy
on
Destroy
(
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