bahmutov / bahmutov/iframe-api

Allow sending a function across the boundary to be executed

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
36
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Only if the other side allows it.

``` js
function connected(api) {
api.evaluate(function () {
console.log('hi on the other side');
});
}
```

If the other side does not allow, do not add `evaluate` method to the API

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.