Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frame): rework frame retrieval api #5527

Merged
merged 2 commits into from
Mar 13, 2018
Merged

Conversation

MartoYankov
Copy link
Contributor

@MartoYankov MartoYankov commented Mar 12, 2018

Rework the frame api to support working with multiple Frames.

  • frameModule.topmost() - now returns the last navigated Frame or
    the currently selected tab item's Frame if the tab item's view is a
    Frame.
  • frameModule.getFrameById(id: string) - returns a navigated Frame by id.
  • args.object.page.frame - can be used in page elements event handlers.
    Returns the Frame of the current element's page.

Related to #5407

Rework the frame api to support working with multiple Frames.
* frameModule.topmost() - now returns the last navigated Frame or
the currently selected tab item's Frame if the tab item's view is a
Frame.
* frameModule.getFrameById(id: string) - returns a navigated Frame by id.
* args.object.page.frame - can be used in page elements event handlers.
Returns the Frame of the current element's page.
@MartoYankov MartoYankov self-assigned this Mar 12, 2018
@ghost ghost added the in progress label Mar 12, 2018
@ghost ghost assigned vakrilov Mar 13, 2018
@MartoYankov MartoYankov merged commit dfa70dd into master Mar 13, 2018
@ghost ghost removed the in progress label Mar 13, 2018
@MartoYankov MartoYankov deleted the myankov/frame-api branch March 13, 2018 16:11
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants