FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(frame): rework frame retrieval api by MartoYankov · Pull Request #5527 · NativeScript/NativeScript · GitHub

feat(frame): rework frame retrieval api - #5527

Merged
MartoYankov merged 2 commits into
masterfrom
myankov/frame-api
Mar 13, 2018
Merged

MartoYankov merged 2 commits into
masterfrom
myankov/frame-api

Conversation

MartoYankov commented Mar 12, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

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 self-assigned this Mar 12, 2018
ghost added the in progress label Mar 12, 2018
ghost assigned vakrilov Mar 13, 2018
MartoYankov merged commit dfa70dd into master Mar 13, 2018
ghost removed the in progress label Mar 13, 2018
MartoYankov deleted the myankov/frame-api branch March 13, 2018 16:11

lock Bot commented Aug 26, 2019

Copy link
Copy Markdown

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 Bot locked and limited conversation to collaborators Aug 26, 2019
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 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.

3 participants


Back | FazBrowse Home | New Git URL