Lens Scripting API
Editor Scripting API
Guide Docs
Preparing search index...
TypeScript/UIControl
UIControl
Class UIControl
Index
Constructors
constructor
Properties
hint
label
show
If
show
If
Value
widget
Methods
add
Hint
add
Label
add
Show
If
add
Widget
get
Show
If
get
Show
If
Value
to
String
Constructors
constructor
new
UIControl
()
:
UIControl
Returns
UIControl
Properties
Protected
hint
hint
:
string
Protected
label
label
:
string
Protected
show
If
showIf
:
string
Protected
show
If
Value
showIfValue
:
string
|
number
|
boolean
Protected
widget
widget
:
UIWidget
Methods
add
Hint
addHint
(
hint
:
string
)
:
this
Parameters
hint
:
string
Returns
this
add
Label
addLabel
(
label
:
string
)
:
this
Parameters
label
:
string
Returns
this
add
Show
If
addShowIf
(
showIf
:
string
,
showIfValue
?:
string
|
number
|
boolean
)
:
this
Parameters
showIf
:
string
Optional
showIfValue
:
string
|
number
|
boolean
Returns
this
add
Widget
addWidget
(
widget
:
UIWidget
)
:
this
Parameters
widget
:
UIWidget
Returns
this
get
Show
If
getShowIf
()
:
string
Returns
string
get
Show
If
Value
getShowIfValue
()
:
string
|
number
|
boolean
Returns
string
|
number
|
boolean
to
String
toString
()
:
string
Returns
string
Settings
Member Visibility
Inherited
Deprecated
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
hint
label
show
If
show
If
Value
widget
Methods
add
Hint
add
Label
add
Show
If
add
Widget
get
Show
If
get
Show
If
Value
to
String
Editor Scripting API
Guide Docs
Lens Scripting API
Loading...