Type Definitions
FrameInfo
Properties:
Name | Type | Description |
---|---|---|
FrameInfo.UUID |
string | iframe的UUID值 |
FrameInfo.name |
string | iframe的name值 |
FrameInfo.isMainFrame |
boolean | 是否为mainFrame |
FrameInfo.parent |
FrameInfo | 父的frame的信息 |
IpcEvent
Properties:
Name | Type | Description |
---|---|---|
UUID |
string | iframe的UUID, mainFrame为~,任意frame为* |
name |
string | 消息名 |
ack |
string | 回执消息名 |
isMainFrame |
boolean | 是否为主页面 |
originalEvent |
IpcEvent | 原生事件 |
Type:
- Object
IpcListener(evt, payload)
Parameters:
Name | Type | Description |
---|---|---|
evt |
IpcEvent | 消息对象 |
payload |
Object | 消息数据 |
KeyDefinition
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
keyCode |
number |
<optional> |
|
shiftKeyCode |
number |
<optional> |
|
key |
string |
<optional> |
|
shiftKey |
string |
<optional> |
|
code |
string |
<optional> |
|
text |
string |
<optional> |
|
shiftText |
string |
<optional> |
|
location |
number |
<optional> |
Type:
- Object