Methods
call(property, data)
invoke iframe model function property
Parameters:
Name | Type | Description |
---|---|---|
property |
string | iframe model function name |
data |
Object | functoin argument |
destroy()
destroy iframe
get(property) → {Promise}
get iframe model property
Parameters:
Name | Type | Description |
---|---|---|
property |
string | iframe modle field name |
Returns:
- Type
- Promise
on(name, callback)
add iframe event handle
Parameters:
Name | Type | Description |
---|---|---|
name |
string | iframe emit event name |
callback |
function | event handler function |