Skip to content

Modifying Elements on ParentScreen in Javascript #343

Answered by jogibear9988
th3112 asked this question in Q&A
Discussion options

You must be logged in to vote

So, I now added 2 methods 2 "RUNTIME", see:

let parentSV = RUNTIME.getParentScreen(instance);
let parentSV2 = RUNTIME.findParent(instance, ScreenViewer, x => x.id == 'aa');

With the second one you cound find any element with the constructor in the second parameter and a predicate wich you get put in the 3rd (the predicate also could be empty)

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jogibear9988
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants