NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"image-source"
External module "image-source"
Globals
"image-
source"
Image
Source
from
Asset
from
Base64
from
Data
from
File
from
File
OrResource
from
Font
Icon
Code
from
Native
Source
from
Resource
from
Url
is
File
OrResource
Path
Index
Classes
Image
Source
Functions
from
Asset
from
Base64
from
Data
from
File
from
File
OrResource
from
Font
Icon
Code
from
Native
Source
from
Resource
from
Url
is
File
OrResource
Path
Functions
from
Asset
from
Asset
(
asset
:
ImageAsset
)
:
Promise
<
ImageSource
>
Parameters
asset:
ImageAsset
Returns
Promise
<
ImageSource
>
from
Base64
from
Base64
(
source
:
string
)
:
ImageSource
Parameters
source:
string
Returns
ImageSource
from
Data
from
Data
(
data
:
any
)
:
ImageSource
Parameters
data:
any
Returns
ImageSource
from
File
from
File
(
path
:
string
)
:
ImageSource
Parameters
path:
string
Returns
ImageSource
from
File
OrResource
from
File
OrResource
(
path
:
string
)
:
ImageSource
Parameters
path:
string
Returns
ImageSource
from
Font
Icon
Code
from
Font
Icon
Code
(
source
:
string
, font
:
Font
, color
:
Color
)
:
ImageSource
Parameters
source:
string
font:
Font
color:
Color
Returns
ImageSource
from
Native
Source
from
Native
Source
(
source
:
any
)
:
ImageSource
Parameters
source:
any
Returns
ImageSource
from
Resource
from
Resource
(
name
:
string
)
:
ImageSource
Parameters
name:
string
Returns
ImageSource
from
Url
from
Url
(
url
:
string
)
:
Promise
<
ImageSource
>
Parameters
url:
string
Returns
Promise
<
ImageSource
>
is
File
OrResource
Path
is
File
OrResource
Path
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
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
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android