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
"ui/styling/style-scope"
StyleScope
Class StyleScope
Globals
"ui/styling/style-
scope"
Css
State
Style
Scope
css
_increase
Application
Css
Selector
Version
add
Css
add
Css
File
apply
Selectors
change
Css
File
ensure
Selectors
get
Animations
get
Keyframe
Animation
With
Name
is
Application
Css
Selectors
Latest
Version
Applied
is
Local
Css
Selectors
Latest
Version
Applied
query
create
Selectors
From
Css
create
Selectors
From
Imports
apply
Inline
Style
resolve
File
Name
From
Url
Hierarchy
StyleScope
Index
Properties
css
Methods
_increase
Application
Css
Selector
Version
add
Css
add
Css
File
apply
Selectors
change
Css
File
ensure
Selectors
get
Animations
get
Keyframe
Animation
With
Name
is
Application
Css
Selectors
Latest
Version
Applied
is
Local
Css
Selectors
Latest
Version
Applied
query
create
Selectors
From
Css
create
Selectors
From
Imports
Properties
css
css
:
string
Methods
_increase
Application
Css
Selector
Version
_increase
Application
Css
Selector
Version
(
)
:
void
Returns
void
add
Css
add
Css
(
cssString
:
string
, cssFileName
?:
string
)
:
void
Parameters
cssString:
string
Optional
cssFileName:
string
Returns
void
add
Css
File
add
Css
File
(
cssFileName
:
string
)
:
void
Parameters
cssFileName:
string
Returns
void
apply
Selectors
apply
Selectors
(
view
:
ViewBase
)
:
void
Parameters
view:
ViewBase
Returns
void
change
Css
File
change
Css
File
(
cssFileName
:
string
)
:
void
Parameters
cssFileName:
string
Returns
void
ensure
Selectors
ensure
Selectors
(
)
:
number
Returns
number
get
Animations
get
Animations
(
ruleset
:
RuleSet
)
:
KeyframeAnimationInfo[]
Parameters
ruleset:
RuleSet
Returns
KeyframeAnimationInfo[]
get
Keyframe
Animation
With
Name
get
Keyframe
Animation
With
Name
(
animationName
:
string
)
:
KeyframeAnimationInfo
Parameters
animationName:
string
Returns
KeyframeAnimationInfo
is
Application
Css
Selectors
Latest
Version
Applied
is
Application
Css
Selectors
Latest
Version
Applied
(
)
:
boolean
Returns
boolean
is
Local
Css
Selectors
Latest
Version
Applied
is
Local
Css
Selectors
Latest
Version
Applied
(
)
:
boolean
Returns
boolean
query
query
(
options
:
Node
)
:
SelectorCore[]
Parameters
options:
Node
Returns
SelectorCore[]
Static
create
Selectors
From
Css
create
Selectors
From
Css
(
css
:
string
, cssFileName
:
string
, keyframes
:
Object
)
:
RuleSet[]
Parameters
css:
string
cssFileName:
string
keyframes:
Object
Returns
RuleSet[]
Static
create
Selectors
From
Imports
create
Selectors
From
Imports
(
tree
:
SyntaxTree
, keyframes
:
Object
)
:
RuleSet[]
Parameters
tree:
SyntaxTree
keyframes:
Object
Returns
RuleSet[]
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