使用范围:UI2
Contents
component WindowOpener ($UI/system/components/justep/windowOpener/windowOpener) extends BindComponent
WindowOpener
Constructor Top
WindowOpener () | |||
WindowOpener ( options) |
Properties Top
string |
activity
打开.w使用的activity,缺省使用当前环境的 | ||
string |
height
高 | ||
string |
left
显示位置,左 | ||
boolean |
modal
模态 | ||
string |
parameters
open时传递的参数 | ||
string |
process
打开.w使用的process,缺省使用当前环境的 | ||
boolean |
resizable
是否允许修改大小 | ||
string |
src
.w的url,需要使用require.toUrl(...)处理 | ||
string |
status
显示状态,取值范围:normal,maximize | ||
string |
top
显示位置,上 | ||
string |
width
宽 |
Attributes Top
string |
activity
打开.w使用的activity,缺省使用当前环境的 | ||
string |
height
高 | ||
string |
left
显示位置,左 | ||
boolean |
modal
模态 | ||
string |
parameters
open时传递的参数 | ||
string |
process
打开.w使用的process,缺省使用当前环境的 | ||
boolean |
resizable
是否允许修改大小 | ||
string |
src
.w的url,需要使用require.toUrl(...)处理 | ||
string |
status
显示状态,取值范围:normal,maximize | ||
string |
top
显示位置,上 | ||
string |
width
宽 |
Methods Top
Object | get (String name) | |
void | open (object option) | |
void | set (json arg) |
Operations Top
void | close () | |
void | open (object option) |
Events Top
void | onOpen (OpenEvent event) |
Constructor details
Top
public
WindowOpener
()
WindowOpener
public
WindowOpener
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
WindowOpener
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Properties Detail Top
public
string
activity
打开.w使用的activity,缺省使用当前环境的
public
string
height
高
public
string
left
显示位置,左
public
boolean
modal
模态
public
string
parameters
open时传递的参数
public
string
process
打开.w使用的process,缺省使用当前环境的
public
boolean
resizable
是否允许修改大小
public
string
src
.w的url,需要使用require.toUrl(...)处理
public
string
status
显示状态,取值范围:normal,maximize
public
string
top
显示位置,上
public
string
width
宽
Attributes Detail Top
public
string
activity
打开.w使用的activity,缺省使用当前环境的
public
string
height
高
public
string
left
显示位置,左
public
boolean
modal
模态
public
string
parameters
open时传递的参数
public
string
process
打开.w使用的process,缺省使用当前环境的
public
boolean
resizable
是否允许修改大小
public
string
src
.w的url,需要使用require.toUrl(...)处理
public
string
status
显示状态,取值范围:normal,maximize
public
string
top
显示位置,上
public
string
width
宽
Methods Detail Top
public
Object
get
(String name)
获取属性值
public
void
open
(object option)
打开对话框
public
void
set
(json arg)
设置属性值
Operations Detail Top
public
void
close
()
关闭window对话框
public
void
open
(object option)
打开window对话框
See Open
Events Detail Top
[回调型事件]打开事件