FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NativeScript/org.nativescript.widgets.d.ts at patch-1 · rclai/NativeScript · GitHub
rclai
/
NativeScript
Public
forked from
NativeScript/NativeScript
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
NativeScript
/
org.nativescript.widgets.d.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
167 lines (130 loc) · 5.5 KB
Breadcrumbs
NativeScript
/
org.nativescript.widgets.d.ts
Copy path
File metadata and controls
167 lines (130 loc) · 5.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
declare
module
org
{
module
nativescript
{
module
widgets
{
export
class
CommonLayoutParams
extends
android
.
widget
.
FrameLayout
.
LayoutParams
{
constructor
(
)
;
public
left
:
number
;
public
top
:
number
;
public
dock
:
Dock
;
public
row
:
number
;
public
column
:
number
;
public
rowSpan
:
number
;
public
columnSpan
:
number
;
public
horizontalAlignment
:
HorizontalAlignment
;
public
verticalAlignment
:
VerticalAlignment
;
}
export
enum
Stretch
{
none
,
aspectFill
,
aspectFit
,
fill
}
export
enum
HorizontalAlignment
{
left
,
center
,
right
,
stretch
}
export
enum
VerticalAlignment
{
top
,
center
,
bottom
,
stretch
}
export
enum
Dock
{
left
,
top
,
right
,
bottom
}
export
enum
GridUnitType
{
auto
,
pixel
,
star
}
export
enum
Orientation
{
horzontal
,
vertical
}
export
class
LayoutBase
extends
android
.
view
.
ViewGroup
{
constructor
(
context
:
android
.
content
.
Context
)
;
}
export
class
AbsoluteLayout
extends
LayoutBase
{
constructor
(
context
:
android
.
content
.
Context
)
;
}
export
class
DockLayout
extends
LayoutBase
{
constructor
(
context
:
android
.
content
.
Context
)
;
public
getStretchLastChild
(
)
:
boolean
;
public
setStretchLastChild
(
value
:
boolean
)
:
void
;
}
export
class
StackLayout
extends
LayoutBase
{
constructor
(
context
:
android
.
content
.
Context
)
;
public
getOrientation
(
)
:
Orientation
;
public
setOrientation
(
value
:
Orientation
)
:
void
;
}
export
class
WrapLayout
extends
LayoutBase
{
constructor
(
context
:
android
.
content
.
Context
)
;
public
getOrientation
(
)
:
Orientation
;
public
setOrientation
(
value
:
Orientation
)
:
void
;
public
getItemWidth
(
)
:
number
;
public
setItemWidth
(
value
:
number
)
:
void
;
public
getItemHeight
(
)
:
number
;
public
setItemHeight
(
value
:
number
)
:
void
;
}
export
class
ItemSpec
{
constructor
(
)
;
constructor
(
value
:
number
,
unitType
:
GridUnitType
)
;
public
getGridUnitType
(
)
:
GridUnitType
;
public
getIsAbsolute
(
)
:
boolean
;
public
getIsAuto
(
)
:
boolean
;
public
getIsStar
(
)
:
boolean
;
public
getValue
(
)
:
number
;
public
getActualLength
(
)
:
number
;
}
export
class
GridLayout
extends
LayoutBase
{
constructor
(
context
:
android
.
content
.
Context
)
;
public
addRow
(
itemSpec
:
ItemSpec
)
:
void
;
public
addColumn
(
itemSpec
:
ItemSpec
)
:
void
;
public
removeRow
(
itemSpec
:
ItemSpec
)
:
void
;
public
removeColumn
(
itemSpec
:
ItemSpec
)
:
void
;
public
removeRowAt
(
index
:
number
)
:
void
;
public
removeColumnAt
(
index
:
number
)
:
void
;
public
getColumns
(
)
:
Array
<
ItemSpec
>
;
public
getRows
(
)
:
Array
<
ItemSpec
>
;
}
export
class
ContentLayout
extends
LayoutBase
{
constructor
(
context
:
android
.
content
.
Context
)
;
}
export
class
VerticalScrollView
extends
android
.
widget
.
ScrollView
{
constructor
(
context
:
android
.
content
.
Context
)
;
public
getScrollableLength
(
)
:
number
;
}
export
class
HorizontalScrollView
extends
android
.
widget
.
HorizontalScrollView
{
constructor
(
context
:
android
.
content
.
Context
)
;
public
getScrollableLength
(
)
:
number
;
}
export
class
ImageView
extends
android
.
widget
.
ImageView
{
constructor
(
context
:
android
.
content
.
Context
)
;
getCornerRadius
(
)
:
number
;
setCornerRadius
(
radius
:
number
)
:
void
;
getBorderWidth
(
)
:
number
;
setBorderWidth
(
width
:
number
)
:
void
;
}
export
class
TabLayout
extends
android
.
widget
.
HorizontalScrollView
{
constructor
(
context
:
android
.
content
.
Context
)
;
constructor
(
context
:
android
.
content
.
Context
,
attrs
:
android
.
util
.
IAttributeSet
)
;
constructor
(
context
:
android
.
content
.
Context
,
attrs
:
android
.
util
.
IAttributeSet
,
defStyle
:
number
)
;
setSelectedIndicatorColors
(
color
:
Array
<
number
>
)
:
void
;
setItems
(
items
:
Array
<
TabItemSpec
>
,
viewPager
:
android
.
support
.
v4
.
view
.
ViewPager
)
:
void
;
updateItemAt
(
position
:
number
,
itemSpec
:
TabItemSpec
)
:
void
;
getTextViewForItemAt
(
index
:
number
)
:
android
.
widget
.
TextView
;
getViewForItemAt
(
index
:
number
)
:
android
.
widget
.
LinearLayout
;
}
export
class
TabItemSpec
{
title
:
string
;
iconId
:
number
;
iconDrawable
:
android
.
graphics
.
drawable
.
Drawable
;
}
}
}
}
Back
|
FazBrowse Home
|
New Git URL