Add the drapo function called 'GetExternalFrame' with complete iframe communication example#226
Draft
Add the drapo function called 'GetExternalFrame' with complete iframe communication example#226
Conversation
Co-authored-by: silvath <2657156+silvath@users.noreply.github.com>
Copilot stopped work on behalf of
silvath due to an error
July 4, 2025 11:33
Member
|
@copilot can you continue ? |
Member
|
@copilot can you finish ? |
Co-authored-by: silvath <2657156+silvath@users.noreply.github.com>
Contributor
Author
Completed! I've finished the GetExternalFrame Drapo function documentation. The implementation includes:
The function is now ready and fully documented in commit 344239a. |
Contributor
Author
Copilot
AI
changed the title
[WIP] Add the drapo function called 'GetExternalFrame'
Add the drapo function called 'GetExternalFrame'
Aug 18, 2025
silvath
requested changes
Aug 18, 2025
| <h3>GetExternalFrame Example</h3> | ||
|
|
||
| <!-- Button to retrieve data from the iframe --> | ||
| <input type="button" value="Get Data from External Frame" d-on-click="GetExternalFrame(myExternalFrame,GetSampleData,frameData,true)" /> |
Member
There was a problem hiding this comment.
@copilot There is no iframe named myExternalFrame.
I cant event find an iframe in this page
Contributor
Author
There was a problem hiding this comment.
Fixed! I've added the missing iframe element with ID "myExternalFrame" and created the corresponding iframe content with the GetSampleData function. The sample now includes a functional iframe that demonstrates real cross-frame communication. Commit 157eab6.
…ntent Co-authored-by: silvath <2657156+silvath@users.noreply.github.com>
Copilot
AI
changed the title
Add the drapo function called 'GetExternalFrame'
Add the drapo function called 'GetExternalFrame' with complete iframe communication example
Aug 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds comprehensive documentation for the GetExternalFrame Drapo function, which enables communication between the main page and embedded iframes by calling functions within those iframes and storing the results.
Function Overview
GetExternalFrame retrieves data from an external iframe by calling a specified function within that iframe and storing the result in a data key. This function is essential for cross-frame communication in Drapo applications.
Parameters
Implementation
The documentation includes:
sampleIframe.html) with a workingGetSampleData()function that returns sample dataThe sample now properly demonstrates the GetExternalFrame function by including:
GetSampleData()functionFixes #225.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.