Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How access $root elements from viewModel in knockoutJS

iamroy-OracleMay 31 2017 — edited Jun 1 2017

I want to access my main.js functions from viewModel. From view files I can directly access $root.funcName to access them but how do I trigger them from the respective viewModel.

Comments
Post Details
Added on May 31 2017
2 comments
445 views